An open API service indexing awesome lists of open source software.

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

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.