Code Monkey home page Code Monkey logo

gamemenu's Introduction

Game Menu

This is a Game Sample Menu based on MenuTemplate project available on Hasenfresser. This is an easy template for simple menus in Linux and Windows terminals.

Nesse repositório os alunos de POO poderam encontrar a solução para as questões da Prova P1

Vide PDF

Download and Compilation

First, clone the repository using the command line below:

git clone https://github.com/aceiro/GameMenu.git

To compile this project you should use the command line below:

g++ main.cpp MenuTemplate/MenuTemplate.cpp MenuTemplate/Entry.cpp MenuTemplate/ExternFunctions/getChar.cpp -o GameMenu

Linux directive

if you use Linux system operation you must use the #define LINUX to be abble to compile using C++. In other case (using Windows) you must not change anyone directive because the original project is compile with this strategy.

To find out where it is need to change the directive you can use the command below that uses a regex with grep to show which files uses the directive for WINDOWS.

$ grep -iaR '#define WINDOWS'

MenuTemplate/MenuTemplate.hpp:#define WINDOWS
MenuTemplate/ExternFunctions/getChar.hpp:#define WINDOWS

Using $ grep -ianR '#define WINDOWS you can see the line number too.

Actual version 2.00 (2019-04-24):

First commit to be eable to use in lessons and C++ course in the year 2019.

Actual version 1.04 (2017-12-28):

Changed Doxygen comments to C++ style. Removed old include guards and replaced them with #pragma once.

Version 1.03:

Changed all parameters to references. Fixed some small issues in Doxygen file.

Version 1.02:

Data types normalized. Fixed small issues at WINDOWS build in function getChar().

Version 1.01:

MenuTemplate now works at Linux and Windows terminals! You just have to set the preprocessor directive to "LINUX" or "WINDOWS" in the source code.

Version 1.00:

Initial version. MenuTemplate only works in Linux terminal.

Installation:

Just copy the folder "MenuTemplate" into your project (main folder) and include "MenuTemplate\MenuTemplate.hpp" in your source code.

Bug reports:

I'm happy if you'll send some helpful bug reports to improve the software.

Wiki

For more informations, you can have a look at the official wiki! (under construction, stay tuned)

Greetings, Hasenfresser

gamemenu's People

Contributors

aceiro avatar

Watchers

James Cloos avatar  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.