Skip to content

jauhararifin/magnes

Repository files navigation

Magnes

Magnes is NES (Nintendo Entertaiment System) emulator written in Magelang.

This project is in WIP state.

Screeshots

Super Mario Donkey Kong Pacman Mega-Man Concentration Room Flappy Bird

Compiling

To compile this game, you must first install the Magelang compiler.

  1. Before installing Magelang, make sure you have the following tools installed:

  2. Installing magelang compiler

# At the time of writing this project, Magelang has not been officially released.
# The game was compiled using Magelang with this commit ID: bf61fb3cdda14f762614f3017553d3c584fac9f3.
# Use this commit ID to install Magelang to ensure version compatibility.
cargo install \
    --git https://github.com/jauhararifin/magelang.git \
    --rev bf61fb3cdda14f762614f3017553d3c584fac9f3 \
    magelang

# Verify the installation
magelang --version
  1. Run the build script
# Clone the flappybird repository
git clone https://github.com/jauhararifin/magnes.git
cd magnes

# Execute the build script:
bash ./build.sh

After running this script, you should see a ./build directory in your current working directory, containing all the files required to run the game. Checkout ./build/platform/web/ directory to run it on the web.

Running

  1. Serve the build directory using an HTTP server. You can use the http-server package from NPM for this purpose.
npx http-server ./build/platform/web/  -p 8080
  1. Open your browser and navigate to http://localhost:8080.

Demo

Checkout the demo here.

Reference

About

NES emulator written in Magelang programming language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published