<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: chyok</title>
    <description>The latest articles on DEV Community by chyok (@chyok).</description>
    <link>https://dev.to/chyok</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1778499%2Ffaec4f72-e2ed-4181-9427-d5a1f1ab060c.jpeg</url>
      <title>DEV Community: chyok</title>
      <link>https://dev.to/chyok</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chyok"/>
    <language>en</language>
    <item>
      <title>Ten Drops: A Python Pygame-CE Game Inspired by Splash Back</title>
      <dc:creator>chyok</dc:creator>
      <pubDate>Sun, 14 Jul 2024 06:16:02 +0000</pubDate>
      <link>https://dev.to/chyok/ten-drops-a-python-pygame-ce-game-inspired-by-splash-back-2k51</link>
      <guid>https://dev.to/chyok/ten-drops-a-python-pygame-ce-game-inspired-by-splash-back-2k51</guid>
      <description>&lt;p&gt;I would like to introduce my pygame project, &lt;a href="https://github.com/chyok/ten-drops" rel="noopener noreferrer"&gt;Ten Drops&lt;/a&gt; - a fun and addictive water droplet game built using Pygame-CE. This game is a loving tribute to the classic Flash game "Splash Back," reimagined for modern platforms.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Fchyok%2Ften-drops%2Fassets%2F32629225%2Fb8409169-dd31-4912-a91e-5fed288a833c" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Fchyok%2Ften-drops%2Fassets%2F32629225%2Fb8409169-dd31-4912-a91e-5fed288a833c" alt="example"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Ten Drops?
&lt;/h2&gt;

&lt;p&gt;Ten Drops is a simple yet engaging game where players click on water droplets to make them explode, with the goal of clearing the screen. It's a perfect blend of strategy and quick reflexes that will keep you entertained for hours.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Simple, intuitive gameplay&lt;/li&gt;
&lt;li&gt;Colorful water droplet graphics&lt;/li&gt;
&lt;li&gt;Inspired by the beloved Flash game "Splash Back"&lt;/li&gt;
&lt;li&gt;Built using Pygame-CE for smooth performance&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How to Play
&lt;/h2&gt;

&lt;p&gt;The objective is straightforward - click on the water droplets to make them burst. Keep clicking until you've cleared all the droplets from the screen. It's easy to learn but challenging to master!&lt;/p&gt;

&lt;h2&gt;
  
  
  Installation:
&lt;/h2&gt;

&lt;p&gt;You can easily install Ten Drops using pip:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pip install ten-drops
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once installed, simply run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ten-drops
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For Windows users, I've also provided a binary file that can be directly executed to play the game.&lt;/p&gt;

&lt;h2&gt;
  
  
  Future Plans
&lt;/h2&gt;

&lt;p&gt;I'm continually working on improving Ten Drops and adding new features. Some ideas I'm considering include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Multiple difficulty levels&lt;/li&gt;
&lt;li&gt;A scoring system&lt;/li&gt;
&lt;li&gt;Sound effects and background music&lt;/li&gt;
&lt;li&gt;Power-ups and special droplets&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Ten Drops is more than just a game - it's a nostalgia trip for those who remember the Flash era and a fun, accessible entry point for new gamers. Whether you're looking for a quick distraction or a new coding project to contribute to, Ten Drops has something for everyone.&lt;/p&gt;

&lt;p&gt;Project page: &lt;a href="https://github.com/chyok/ten-drops" rel="noopener noreferrer"&gt;https://github.com/chyok/ten-drops&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks!&lt;br&gt;
chyok&lt;/p&gt;

</description>
      <category>python</category>
      <category>pygame</category>
      <category>gamedev</category>
    </item>
    <item>
      <title>A Simple Python Tkinter-based Ollama GUI with no external dependencies</title>
      <dc:creator>chyok</dc:creator>
      <pubDate>Sun, 14 Jul 2024 06:08:35 +0000</pubDate>
      <link>https://dev.to/chyok/a-simple-python-tkinter-based-ollama-gui-with-no-external-dependencies-4fp3</link>
      <guid>https://dev.to/chyok/a-simple-python-tkinter-based-ollama-gui-with-no-external-dependencies-4fp3</guid>
      <description>&lt;p&gt;Hello everyone, I would like to share with you &lt;a href="https://github.com/chyok/ollama-gui" rel="noopener noreferrer"&gt;ollama-gui&lt;/a&gt; - a lightweight, Tkinter-based python GUI for the Ollama.&lt;/p&gt;

&lt;h2&gt;
  
  
  Overview
&lt;/h2&gt;

&lt;p&gt;The project is very simple, with no other dependencies, and can be run in a single file.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Fuser-attachments%2Fassets%2Fa4bb979b-68a4-4062-b484-7542f2a866e0" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Fuser-attachments%2Fassets%2Fa4bb979b-68a4-4062-b484-7542f2a866e0" alt="ollama-gui-1 2 0"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It can serve as a first GUI page for beginners, without the need for Docker, VM or other dependencies, just Python (if not using the binary).&lt;/p&gt;

&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;📁 One file project.&lt;/li&gt;
&lt;li&gt;📦 No external dependencies, only &lt;strong&gt;tkinter&lt;/strong&gt; which is usually bundled.&lt;/li&gt;
&lt;li&gt;🔍 Auto check ollama model list.&lt;/li&gt;
&lt;li&gt;🌐 Customizable ollama host support.&lt;/li&gt;
&lt;li&gt;💬 Multiple conversations.&lt;/li&gt;
&lt;li&gt;📋 Menu bar and right-click menu.&lt;/li&gt;
&lt;li&gt;🗂️ Model Management: Download and Delete Models&lt;/li&gt;
&lt;li&gt;🎨 UI Enhancement: Bubble dialog theme&lt;/li&gt;
&lt;li&gt;📝 Editable Conversation History&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Run
&lt;/h2&gt;

&lt;p&gt;Choose any way you like:&lt;/p&gt;

&lt;h3&gt;
  
  
  source code
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;python ollama_gui.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  using pip
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pip install ollama-gui
ollama-gui # or python -m ollama_gui
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  binary file
&lt;/h3&gt;

&lt;p&gt;I have provided some Windows, Mac, and Linux binaries for convenient direct use, could be downloaded from the GitHub release page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Motivation
&lt;/h2&gt;

&lt;p&gt;While looking for a UI interface for Ollama to experiment with large models locally, I found that many had heavy installation dependencies. Since I don't have particularly high requirements for the interface and UI, I decided to write an extremely minimalist UI using Python.&lt;/p&gt;

&lt;p&gt;The project home is at &lt;a href="https://github.com/chyok/ollama-gui" rel="noopener noreferrer"&gt;https://github.com/chyok/ollama-gui&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I would be most appreciative if anyone were interested, and also be tremendously grateful for any feedback or suggestions that anyone may have to offer.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br&gt;
chyok&lt;/p&gt;

</description>
      <category>ollama</category>
      <category>python</category>
      <category>tkinter</category>
      <category>llm</category>
    </item>
  </channel>
</rss>
