Float your way through perilous terrain in this endless side-scroller game.
Float your way through perilous terrain in this endless side-scoller game.
floatybox is an endless side-scrolling game that runs in the terminal using a text-based user interface. The objective is to help guide Box through an endless series of moving goals. Achieve a high score by getting the longest streak!
View the usage and help output with the
or as a plain text file in
floatybox in a terminal that supports truecolour.
<left-mouse> button or the
<space> key to play!
This section describes what environments this program may run on, any prior requirements or dependencies needed, and any third party libraries used.
Any shell commands using relative paths are expected to be executed in the root directory of this repository.
Using a new version of GCC or Clang is required, as the default
Apple Clang compiler does not support C++17 Standard Library features such as
A new compiler can be installed through a third-party package manager such as Brew. Assuming you have Brew already installed, the following commands should install the latest GCC.
brew install gcc brew link gcc
The following CMake argument will then need to be appended to the end of the line when running the shell script.
Remember to replace the placeholder
<path-to-g++> with the canonical path to the new g++ compiler binary.
./RUNME.sh build -- -DCMAKE_CXX_COMPILER='<path-to-g++>'
The included shell script will build the project in release mode using the
The included shell script will install the project in release mode using the
This project is licensed under the MIT License.
Copyright (c) 2020 Brett Robinson
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.