https://github.com/dudelson/guessing-game
My go-to project for learning new programming languages
https://github.com/dudelson/guessing-game
dudelson-learning dudelson-project
Last synced: over 1 year ago
JSON representation
My go-to project for learning new programming languages
- Host: GitHub
- URL: https://github.com/dudelson/guessing-game
- Owner: dudelson
- Created: 2018-09-11T21:15:30.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-11T23:49:54.000Z (almost 8 years ago)
- Last Synced: 2025-02-10T03:48:00.905Z (over 1 year ago)
- Topics: dudelson-learning, dudelson-project
- Language: Rust
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
[//]: # (-*- mode: markdown -*-)
# Guessing Game
This guessing game is my go-to project for learning new programming languages.
Shamelessly stolen (with gratitude :heart:) from the
[official rust programming language
guide](https://doc.rust-lang.org/book/2018-edition/ch02-00-guessing-game-tutorial.html),
it's intended to be completed in an active-learning style with the
aid of the official docs for the language and [LearnXInYMinutes](https://learnxinyminutes.com/).
I have added additional requirements (beyond what's contained in the rust book)
which are meant to give the programmer the
opportunity to expose themselves to several important aspects of any programming
language. These include:
- Basic data-types (bool, int, float, string, etc.)
- I/O and string formatting
- error handling (exceptions, result types, or whatever the de facto best
pratices are)
- random numbers / random data generation
- imports and packages
- abstact data types (lists, hash tables, BSTs, etc.)
- classes/modules/etc.
- algebraic data-types (records/variants), if supported
- threading / async programming
The specification for the guessing game can be found in SPECIFICATION.
Note that because this repo is intended to be for my own education, pull
requests will (most likely) not be accepted. If you'd like to implement this
guessing game in your own favorite language, feel free to fork the specification.