Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/victorharri-chal/arcade
đšī¸ A graphical project in C++ to recreate an arcade machine with multiple games (Pacman & Nibbler) and multiple graphical libraries (Ncurses, SFML, SDL2). Done on my 2nd year at Epitech
https://github.com/victorharri-chal/arcade
arcade-machine cpp epitech game graphical-programming ncurses nibbler pacman sdl2 second-year-project sfml
Last synced: about 1 month ago
JSON representation
đšī¸ A graphical project in C++ to recreate an arcade machine with multiple games (Pacman & Nibbler) and multiple graphical libraries (Ncurses, SFML, SDL2). Done on my 2nd year at Epitech
- Host: GitHub
- URL: https://github.com/victorharri-chal/arcade
- Owner: VictorHarri-Chal
- License: mit
- Created: 2022-07-07T13:29:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-07T13:54:13.000Z (over 2 years ago)
- Last Synced: 2024-10-31T22:13:14.532Z (3 months ago)
- Topics: arcade-machine, cpp, epitech, game, graphical-programming, ncurses, nibbler, pacman, sdl2, second-year-project, sfml
- Language: C++
- Homepage:
- Size: 20.9 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Arcade
## An arcade machine in C
The purpose of this project was to recreate an arcade machine who gives to possibility to play to multiple games like Pacman or Nibbler with multiple graphical libraries like Ncurses, SFML or SDL2. These graphical libraries changes how the game look like.
The difficulty of this project was to build a program who offers to the player to swap between games and graphical libraries in runtime.
## Requirements
- Ncurses library
- SFML library
- SDL2 library## Usage
``` make ```
``` ./arcade lib/arcade_ncurses.so ``` or ``` ./arcade lib/arcade_sfml.so ``` or ``` ./arcade lib/arcade_sdl2.so ``` depending on which graphical library you wanna start with## Features
- Use the ``` Keypad ``` to move during the game
- Change the speed of the game with ``` Y ``` to lower it and ``` U ``` to upper it
- Swap to the next graphical library with ``` A ```
- Swap to the previous graphical library with ``` E ```
- Swap to the next game with ``` D ``` (only in runtime)
- Swap to the previous game with ``` Q ``` (only in runtime)
- Restart the current game with ``` R ```
- Go back to the menu with ``` T ```
- Exit the Arcade with ``` ESC ```## Screenshots
![menu](menu.png)
![nibbler](nibbler.png)
![pacman](pacman.png)