74 lines
1.6 KiB
Markdown
74 lines
1.6 KiB
Markdown
# Cromulant
|
|
|
|
![](https://i.imgur.com/iujtRIU.jpeg)
|
|
|
|
![](https://i.imgur.com/nBjUANS.jpeg)
|
|
|
|
![](https://i.imgur.com/KqyqA8l.jpeg)
|
|
|
|
## What is this?
|
|
|
|
This is a kind of toy you can use for your amusement.
|
|
|
|
You hatch ants and they are born from a list of 1000 random names.
|
|
|
|
You can also terminate them (randomly, you don't decide who is removed).
|
|
|
|
Then periodically the ants will produce random updates.
|
|
|
|
The updates can be random non-sensical sentences.
|
|
|
|
The ants can score triumphs or take hits.
|
|
|
|
You can adjust the speed of the updates.
|
|
|
|
## Game Loop
|
|
|
|
You hatch and terminate ants.
|
|
|
|
You read some funny updates.
|
|
|
|
You watch who gets the most triumphs or the most hits.
|
|
|
|
The ant with the highest score is shown in the footer.
|
|
|
|
Clicking the footer scrolls to the bottom.
|
|
|
|
There is a filter to filter updates.
|
|
|
|
## Usage
|
|
|
|
Just open it, hatch some ants, and place it somewhere in your monitor.
|
|
|
|
## Algorithm
|
|
|
|
A random ant from ants that haven't had an update in at least 10 minutes is picked.
|
|
|
|
Or any ant is picked if none meet that requirement.
|
|
|
|
Then a number between 1 and 10 is randomly picked.
|
|
|
|
For each number an action happens to produce an update.
|
|
|
|
## Technology
|
|
|
|
This is made with python + qt (pyside6)
|
|
|
|
## The name
|
|
|
|
I read the word cromulent being used somewhere which turned out to be invented by The Simpsons.
|
|
|
|
[It's in the dictionary now](https://www.merriam-webster.com/wordplay/what-does-cromulent-mean)
|
|
|
|
|
|
I created a random programming project to practice/study and tried to write that word but made a typo. I liked it and made a game about ants.
|
|
|
|
---
|
|
|
|
![](cromulant/img/logo_1.jpg)
|
|
|
|
![](cromulant/img/logo_2.jpg)
|
|
|
|
![](cromulant/img/logo_3.jpg)
|
|
|
|
![](cromulant/img/logo_4.jpg) |