Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

LeopoldSallan/Arcade

Repository files navigation

Arcade Logo

A gaming platform.

Arcade

Arcade is a gaming platform, a program that lets the user choose a game to play and keeps a register of player scores.

Subject

sub

Build

Requirements

  • C++20 COMPILER
  • cmake VERSION 3.5.1

Libraries

  • SFML
  • SDL2
  • SDL2_TTF
  • NCURSES

CMake

Simple guide to setup the project via CMake as follows:

$ mkdir ./build/ && cd ./build/
$ cmake .. -G “Unix Makefiles” -DCMAKE_BUILD_TYPE=Release
[. . .]
$ cmake --build .
[. . .]
$ cd ..
$ ls ./arcade ./lib/
./arcade

./lib/:
arcade_ncurses.so
arcade_pacman.so
arcade_sdl2.so
arcade_sfml.so
arcade_solarfox.so
[. . .]

Documentation

This project is documented with Doxygen, which is the de facto standard tool for generating documentation from annotated C++ sources.
There is also a ./doc directory, explaining how to implement new graphics libraries or game libraries compatible with the system.

doc doc

Librairies

Graphicals libraries

The nCurses, SDL2 and SFML graphical libraries have been implemented.

• nCurses (arcade_ncurses.so)
• SDL2 (arcade_sdl2.so)
• SFML (arcade_sfml.so)

Game libraries

The Snake and Nibbler game libraries have been implemented.

• Snake (arcade_snake.so)
• Nibbler (arcade_nibbler.so)

Usage

USAGE:
  ./arcade path_to_graphical_lib

DESCRIPTION:
  /lib folder         path to the initial graphical library to load (./lib/arcade_lib_name.so)

COMMANDS (azerty layout):
  Y                         Next graphics lib.
  U                         Next game.
  I                         Restart the game.
  O                         Go back to the menu.
  P                         Exit.

  D | Right Arrow           Move right.
  Q | Left Arrow            Move left.
  Z | Up Arrow              Move up.
  S | Down Arrow            Move down.
  
  Left | Right Arrow        Menu navigation, choose graphicals libraries.
  Up | Down Arrow           Menu navigation, choose game libraries.      

Contributors

About

OOP - Arcade

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published