# MiniPacman
## What's new:
**ver 1.1.1 -- 30jan20**
* Vast improvement in Linux portability by elliminating SFML sound.
* OSX & Windows still use SFML for sound.
===========================================================================
### MiniPacman
MiniPac is a kid friendly ascii character version of Pacman that plays in a commandline terminal. Pure minimalism with classic sounds and 9 predefined levels. Runs on Windows, OSX & Linux.
Keyboard setup is important. You should have a short key-delay and fast repeat setting.
The arrow keys, or wasd-keys, or ijkl-keys control movement. The (x),(q) keys quit; (p) pauses game.
Includes executables and source code.
===============================================================
## Setup & Running:
* Unzip wherever;
* Resize your terminal to at least 57 chars wide by 36 lines;
* You might want to enlarge the Font so that the window becomes physically larger.
* type the executable name to begin.
OSX: pacman_osx
Linux: pacman_gnu
Windows: pacman.exe
Each executable can now be given 2 integer command line parameters:
* Game Speed 0..9; 0=slow, 5=default=medium, 9=fast;
* Ghost Speed 0..9; 0=stopped, 2=default=easy, 9=fast
So on windows, the command "pacman.exe 5 2" gives default settings, same as no parameters.
===============================================================
Usable keys:
* arrow-keys
* ijkl-keys
* wasd-keys
* (p)=pause
* (q)=quit
===========================================================================
## Compiler Scripts
There are three scripts, wcmp.bat for msWindows, lcmp.sh for Linux, and ocmp.sh for OS-X.
===============================================================
## Build Instructions:
Remember that prebuilt executables are already included. If you want to rebuild...
Manually install GNAT GPL from libre.adacore.com/download/.
Next, edit the scripts wcmp.bat or lcmp.sh or ocmp.sh so that the path to gnatmake is correct.
Then type "[lo]cmp.sh" or "wcmp.bat" to create new command-line executables for your system.
===============================================================
## Legal Mumbo Jumbo:
MiniPacman is covered by the GNU GPL v3 as indicated in the sources:
Copyright (C) 2017 <fastrgv@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You may read the full text of the GNU General Public License
at <http://www.gnu.org/licenses/>.
----------------------------------------------
## Thanks to:
Mike Billars [michael@gmail.com] for his [gnu gpl] C-version of Pacman for the console, after which this Ada version was modelled.
----------------------------------------------
## Best Download Site for all my games:
Github.com
--------------------------------------------------
## Earlier Revision History: