voicelessreason / poolgame Goto Github PK
View Code? Open in Web Editor NEWSimple pool game written in C++ and GUI written in openGL
Simple pool game written in C++ and GUI written in openGL
/****************************************************************************** * Author: Arlen Strausman * * This is a Pool simulation game written for my computer graphics course. * It is built upon a collision detection and animation program * designed by Thomas Kelliher. * * Functions written: createAimer, rackBoard, shoot, rackCue, aim, raisePower, * lowerPower, elasiticityUp, elasticityDown, ballSizeUp, ballSizeDown, moveCueUp * moveCueDown, moveCueLeft, moveCueRight, * * Functions modified: readFile, createCircle, createBoard, display, init, * keyboard, mouse, idle, main * * **************************************************************************** Arlen Strausman's Pool Simulator Game: =========================================================================================== ------------------------------------------------------------------------------------------- GOAL: ------------------------------------------------------------------------------------------- - The goal of the game is simple; pocket all balls that are not the cue. ------------------------------------------------------------------------------------------- SHOOTING: ------------------------------------------------------------------------------------------- - Click within the white "aiming circle" to choose the direction of your shot (represented by a small pink "aiming ball". - To raise or lower the power of your shot, use the '+' and '-' keys. - When you are satisfied with your direction and power, hit the space bar to shoot. ------------------------------------------------------------------------------------------- RE-RACKING: ------------------------------------------------------------------------------------------- - To rerack the cue, use the 'c' key. To rerack the board, use the 'r' key. ------------------------------------------------------------------------------------------- BREAKING: ------------------------------------------------------------------------------------------- - When either the cue ball or all of the balls have been recently racked, you may use the 'w', 'a', 's' and 'd' keys to move the ball to the desired location within the legal breaking area. ------------------------------------------------------------------------------------------- COOKIES (EXTRA FEATURES): ------------------------------------------------------------------------------------------- - To raise the size and mass of the ball, use the 'B' key. To lower them, 'b'. - To raise and lower the elasticity of collision, use the 'E' and 'e' keys, respectively Built upon skeleton Pool.cpp class provided by Thomas Kelliher (my professor)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.