https://github.com/chriseborowski/random6
An interactive game written in Python and JavaScript. Can you guess a random number between 1 and 100 in only 6 steps?
https://github.com/chriseborowski/random6
game game-dev game-development game-engine javascript js logical-game numbers python
Last synced: 2 months ago
JSON representation
An interactive game written in Python and JavaScript. Can you guess a random number between 1 and 100 in only 6 steps?
- Host: GitHub
- URL: https://github.com/chriseborowski/random6
- Owner: chriseborowski
- License: mit
- Created: 2023-06-08T06:22:22.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-23T20:43:56.000Z (almost 2 years ago)
- Last Synced: 2025-01-24T17:17:36.903Z (4 months ago)
- Topics: game, game-dev, game-development, game-engine, javascript, js, logical-game, numbers, python
- Language: JavaScript
- Homepage: https://github.com/chriseborowski/random6
- Size: 3.36 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# Random6
[View demo](https://replit.com/@chriseborowski/Random6) • [Report bug](https://github.com/chriseborowski/random6/issues) • [Request feature](https://github.com/chriseborowski/random6/issues) • [DM author](https://twitter.com/chriseborowski)

## About
An interactive number game written in JavaScript and Python. Can you guess a random number 1 and 100 in only 6 steps?
For a live demo of the project on Replit, click [here](https://replit.com/@chriseborowski/Random6).
For a video clip demonstrating the game, click [here](https://twitter.com/chriseborowski/status/1666513865570394131).
## Getting started
### JavaScript instructions
1. Clone the repository to your machine
`git clone https://github.com/chriseborowski/random6.git`
2. Make sure you have [Node.js](https://nodejs.org/en), [npm](https://www.npmjs.com/), and the [readline-sync](https://github.com/anseki/readline-sync) package (see below) installed
`npm install readline-sync`
3. Run the code in your preferred code editor (e.g., VSCode) or Terminal/Bash window (sample code below)
`node random6.js`
4. Enjoy the game and good luck!
### Python instructions
1. Clone the repository to your machine
`git clone https://github.com/chriseborowski/random6.git`
2. Run the code in your preferred code editor (e.g., VSCode) or Terminal/Bash window (sample code below)
`python3 random6.py`
3. Enjoy the game and good luck!
## Roadmap
The development has been completed.
- [x] Initial version released
- [x] Live demo on Replit created
- [x] README.md description created
- [x] Added message support for string inputs (JavaScript version)
- [x] Added ASCII art congratulations message (Python version)## License
Distributed under the MIT License. See `license.txt` for more information.
## Contact
Chris Borowski
Follow me **@chriseborowski** on [GitHub](https://github.com/chriseborowski) • [Twitter](https://twitter.com/chriseborowski) • [T2](https://t2.social/chriseborowski) • [LinkedIn](https://www.linkedin.com/in/chriseborowski) • [Linktree](https://linktr.ee/chriseborowski) (all links)
Project repository link: [Random6](https://github.com/chriseborowski/random6)
* versions: [JavaScript](https://github.com/chriseborowski/random6/blob/main/random6.js) • [Python](https://github.com/chriseborowski/random6/blob/main/random6.py)