Turing Game is an educational browser-based game designed to teach the fundamentals of computer science, starting from the transistor level and progressing through layers of abstraction to build a basic computer. The game is built using Rust and WebAssembly.
- Interactive tutorials on transistors, logic gates, adders, multiplexers, and more.
- Visually demonstrates how basic components work together to build complex circuits.
- Supports various logic operations and arithmetic functions.
- Educational content for beginners and enthusiasts.
To run Turing Game locally, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/turing-game.git cd turing-game
-
Build the WebAssembly package:
wasm-pack build --target web --out-dir ./static/pkg
-
Install the HTTP server if you don't have it installed:
npm install -g http-server
-
Start the server:
http-server static
-
Open your browser and navigate to
http://localhost:8080
.
Select a level from the menu to begin learning about transistors and logic gates. Each level provides an interactive circuit diagram that allows you to toggle inputs and observe the outputs.
To contribute to the development of Turing Game, follow these steps:
- Rust
- wasm-pack
- npm
-
Fork the repository.
-
Create a new branch:
git checkout -b feature/your-feature-name
-
Make your changes and commit them:
git commit -m "Description of your changes"
-
Push to the branch:
git push origin feature/your-feature-name
-
Open a pull request.