java-tictactoe's People
java-tictactoe's Issues
code likes
tests, all passing
good separation of concerns
short methods
good method and variable names
all strings in one place
idiomatic Java
testing successfully playing a square that is already occupied?
GameTest.testPlacingATokenOnATakenSpaceChangesTheToken() communicates to me a situation that should be prevented. Indeed, the game does not allow me to play a square that is already occupied. Why, then, does this test exist?
helper methods simplify tests
I like that you wrote some helper methods to simplify some tests.
vague test names in MinMaxTest
Names like testHeuristic1, testHeuristic2, etc., aren't as communicative as they could be.
MinMaxPlayer duplication
minimize() and maximize() are virtually the same.
ignore IDEA and class files
When I installed IDEA, I had to configure a JDK for the project. Doing so caused some IDEA file to be modified and show up in git status. Tool/workspace files should be removed from version control and ignored.
Same issue occurred with .class files after I compiled the app.
game play
Likes
- unbeatable
- fast
Dislikes
- UI is a bit compressed
- game doesn't tell me which player won or if the game was a draw
- no space between prompte and move, e.g., Enter your move:b1 instead of Enter your move: b1
- not redrawing the board after an invalid move; really on a problem on a short terminal window where the board can be pushed up out of view
- would've liked a script for running the game so I didn't have to type the java command myself
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.