Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andorlando/nim
https://github.com/andorlando/nim
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/andorlando/nim
- Owner: andOrlando
- License: mit
- Created: 2021-10-18T22:22:39.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-04T18:54:51.000Z (about 2 years ago)
- Last Synced: 2024-11-02T10:42:28.571Z (about 2 months ago)
- Language: JavaScript
- Size: 256 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nim
[Check it out here!](https://nim-tui.netlify.app/)TUI (Terminal User Interface) for playing Nim but it's cool becuase it's in the browser and there's a basically unbeatable algorithm too
### Controls:
- `Q`/`ESC`: go back to preview menu
- `SPACE`/`ENTER`: select
- `WASD`/`Arrow Keys`: navigation
- Click on `End Turn` to end turns### Further Reading:
[Wikipedia](https://en.wikipedia.org/wiki/Nim)### TODO:
- [X] Make `End Turn` selectable
- [X] Make sticks (lines? nimmy things?) clickable and hoverable
- [ ] Add settings with custom heap sizes
- [ ] Change Player 2 Color (settings?)
- [ ] Change Player Names (settings?)
- [ ] Full themeing support (this seems a bit overkill but whatever)
- [ ] Toggle which player goes first or random selection (settings?)