Skip to content

Mario is machine-learned by genetic algorithms to achieve high scores.

Notifications You must be signed in to change notification settings

isdlyusukeshimizu/mario-ai

Repository files navigation

Mario AI - 2009

⚙️ Setup (for MacOS)

Server

  1. Install rye

    $ curl -sSf https://rye.astral.sh/get | bash
  2. Setup rye environment

    • for bash

      $ echo 'source "$HOME/.rye/env"' >> ~/.bash_profile
      $ source ~/.bash_profile
    • for zsh

      $ echo 'source "$HOME/.rye/env"' >> ~/.zprofile
      $ source ~/.zprofile
  3. Setup python environment

    $ rye sync
  4. Activate virtual environment

    $ source .venv/bin/activate

Client

  1. Install JDK (Amazon Corretto 22)

  2. Setup java environment

    $ /usr/libexec/java_home --verbose
    $ export JAVA_HOME=/Library/Java/JavaVirtualMachines/amazon-corretto-22.jdk/Contents/Home
  3. Install Ant for building

    $ brew install ant

🚀 How to run

Server

$ make run-server

Client

$ make run-client

About

Mario is machine-learned by genetic algorithms to achieve high scores.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published