davidjpfeiffer / game-engine Goto Github PK
View Code? Open in Web Editor NEWA two-player turn-based strategy game engine
License: GNU General Public License v3.0
A two-player turn-based strategy game engine
License: GNU General Public License v3.0
This class should have two properties:
It should also have certain methods, like a method to get the board value as a char.
The game has many names, but the general idea is that players develop algorithms to try and optimize their own personal reward. Both players win if they both trust each other. If only one player lies then that player gets an even bigger reward, at the expense of the other player. If both players lie then both players loose.
This website has built a fully functioning version of the game, but if it is added to the game engine new algorithms can be built to play against each other in tournaments.
Refactor all game specific login into a game class that is used in all other classes. The utilities file should only contain helper methods that know nothing about the game object.
We should extract an interface (abstract class in c++) from all game related classes and have the game engine use these interfaces instead of a classes related to a specific game.
This will make the game engine reusable for other two player board games.
The project should have a GUI that allows the user to select a game, two players, and the number of games to be played (n). The game engine should then play the game n times and display the output on the screen by either drawing the board or displaying the multiple games summary statistics.
The project should be rewritten in C# using interfaces and best practices.
Chess should be added as a Game
in addition to Connect Four and Tic Tac Toe. Because this game is much more advanced it will show the true strength of the Game Engine. We might also add optimizations to the game engine to handle the stress for this game.
On Game Definition class:
SetGameDefinition method should be changed to GetGameDefinition to avoid pointer confusion.
We should improve abstractions within the game engine to take more abstract objects when possible.
For example, the isValidMove method should take a Player, not a PlayerValue.
The board is currently a typedef of a vector of type vector of type board value. The board should instead be refactored into a separate class with utility methods that interact with the board array.
This project should not be specific to a single game but should work for any two-player turn-based strategy board game.
After the project it renamed a second game should be added in addition to Tic Tac Toe.
The program should accept the starting options as command line parameters. If none are provided, the program should prompt the user for the options as it currently does.
We should time the execution of the games and include this information in the game statistics.
The program should have an additional starting option, which lets the user enter explicitly state whether or not they would like the games to be printed. If this parameter is set to true then the number of games parameter is optional and defaults to one. The default value of this parameter is to display statistics. When we display statistics we do not include player stats for one game, but we always show the average execution time per game.
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.