Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ostanton/nimsimpleguessinggame
GUI-based simple guessing game made in Nim
https://github.com/ostanton/nimsimpleguessinggame
game gui gui-application nigui nim
Last synced: about 1 month ago
JSON representation
GUI-based simple guessing game made in Nim
- Host: GitHub
- URL: https://github.com/ostanton/nimsimpleguessinggame
- Owner: ostanton
- License: mit
- Created: 2023-02-10T00:56:53.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-02T21:30:43.000Z (almost 2 years ago)
- Last Synced: 2024-11-11T17:12:14.842Z (3 months ago)
- Topics: game, gui, gui-application, nigui, nim
- Language: Nim
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NimSimpleGuessingGame
GUI-based simple guessing gameA very simple number guessing game written in [Nim](https://nim-lang.org/) using [NiGui](https://github.com/simonkrauter/NiGui). I started learning Nim today, and made this the same day. Bugs include:
- Answer is always 88 (`rand()` function messing up, will look into this)
- Scrolling scrolls the whole window contents instead of submitted answers. There is no documentation of NiGui yet so I have no idea how to change this.
- No replay button. As far as I know, NiGui doesn't support clearing containers' children, so if I were to make a replay button it would just restart the program.
- Error when entering non-numbers into entry box.Please report any more bugs!
There are may ways to improve this I know, but it's my first GUI application outside Unreal Engine, and my first proper code application, so cut me some slack!
If you want to compile it yourself, you need [NiGui](https://github.com/simonkrauter/NiGui) (sadly there is no documentation I could find except examples)