Skip to content

Cthutu/agf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASCII GAME FRAMEWORK

AGF is a foundation for build ASCII style games.

ASCII Pacman

The demo is just an implementation of pacman and is entirely contained within src/agf/demo.cc as the DemoGame class. You can derive your own class from agf::Game and override the two methods (simulate and present), and instantiate it in the main function. Until documentation is written, please refer to the DemoGame class to understand how to use the engine.

Building

There are 2 ways to build the executable. One is via Visual Studio 2017, and another is via a batch file. The executables will be found in the folder _bin/<platform>_<configuration>_agf, where <platform> is currently Win64 and <configuration> is either Debug or Release.

Building via Visual Studio 2017

To build agf.exe:

  • Run gen.bat to generate the solutions and projects inside the _build folder.
  • Run edit.bat to run Visual Studio 2017 with the solution open.
  • Use Visual Studio as normal to build either Debug or Release builds.

Building via a batch file

To build agf.exe run build.bat. This will set up your CLI environment ready for Visual Studio command line tools, build the release version of agf.exe using msbuild.

Cleaning

All files generated by the build are placed in folders that start with an underscore. You can run clean.bat, which will delete all those folders.

Installation

The build environment provides a install.bat file that will copy the release version of pl.exe to the folder determined by the environment variable INSTALL_PATH. If INSTALL_PATH is not defined, the batch file will warn you of this fact. This folder should be included in your system's PATH variable so it can be found.

About

Ascii Game Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages