Git Product home page Git Product logo

pac-man's Introduction

Pac-Man

Un petit programme en Assembleur 6502 (NES) qui permet le contrôle de Pac-Man et des 4 fantômes.

La majorité des commentaires et du système de base ont été codé par François Allard. Je suis parti de son calque.

Pour compiler le code, on doit utiliser le programme neasm.exe. (C'est dans le "repository", mais mon code est déjà compiler). Pour lancer le programme de Pac-Man, on doit utiliser l'émulateur fceux.exe : http://www.fceux.com/web/home.html

Pour contrôler la direction de Pac-Man : Les flèches

Pour changer de fantôme :

  1. Il faut aller dans l'onglet "Config" de l'émulateur.
  2. Dans l'option "Input".
  3. "Configure" le Port 2 (à droite).
  4. Définir les touches "Select", "Start", "B" et "A". Respectivement : Touche Z (Select) : Orange Touche X (Start) : Rouge Touche C (B) : Bleu Touche V (A) : Jaune

Pour contrôler le fantôtme choisi :

  1. Il faut aller dans l'onglet "Config" de l'émulateur.
  2. Dans l'option "Input".
  3. "Configure" le Port 2 (à droite).
  4. Définir les touches "Up", "Right", "Down" et "Left". Respectivement : Touche H (Up) Touche M (Right) Touche N (Down) Touche B (Left)

A little program in Assembly 6502 (NES) who let you control Pac-Man and the 4 ghosts.

The majority of commentary block and base system was code by François Allard. I started from his model.

To compile the code, we need to use neasm.exe program. (It's in the repository, but my code is already compile). To launch the Pac-Man program, we need to use fceux.exe emulator : http://www.fceux.com/web/home.html

My code is in french because it was for a school project (and i'm from Québec, so we need to use french :) ).

To control Pac-Man direction : Arrow keys

To change ghost :

  1. Go to "Config" tab of the emulator.
  2. In "Input" option.
  3. "Configure" Port 2 (to the right).
  4. Set "Select", "Start", "B" and "A" buttons. Respectively : Button Z (Select) : Orange Button X (Start) : Red Button C (B) : Blue Button V (A) : Yellow

To control choosen ghost direction :

  1. Go to "Config" tab of the emulator.
  2. In "Input" option.
  3. "Configure" Port 2 (to the right).
  4. Set "Up", "Right", "Down" and "Left" buttons. Respectively : Button H (Up) Button M (Right) Button N (Down) Button B (Left)

pac-man's People

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.