apricot's People
apricot's Issues
Part2: Read Game Board and save as a int[][].
Read different game boards from files and save them to a 2D int array
Part1: letter-based search, pick value smarter
Right now just checking a-z, but should do something better (least-constraining?)
Part2: Display the final State
Print the final state of the board (when all the blocks are taken)
Need to show each block's owner and value.
Part1: read in puzzle file
Read in a puzzle file (like puzzle1.txt) and store it.
Part1: read in word list
Read in the word list and store it somehow to query later.
Part2: Minimax Search
Operate minimax search to decide next step
(Could be somehow like this)
Int Minimax(depth, turn) {
/*
*Recursively go through every possible results
*Decide which Point to go for each step
*
*/
check if end, if yes, return checkvalue;
else if depth==depth+3, return check value
get available states;
for (Point: Available states){
Move(Availabe states.get,turn)
Value=minimax(next children states, others turn)
max value
min value
}
if turn==1, return max
if turn==2, return min
}
Part2: Check game end
Check if there is no more step possible, if yes, then game is over
Part1: print all possible solutions
Part1: basic backtracking search
Implement a basic backtracking search
Part2: Check total value
Check the total value of blocks taken by one player; used to give the score reference in the minimax search.
Part1: letter-based search, pick variable smarter
Right now just going through array sequentially, but there is probably a better way to be doing this based off what we learned in class. (mrv)
Part1: word-based assignment
Part1: print search trace to console
Part2: Move method
//Mark the moved Point
//Apply other effect (like marking nearby points as taken by the player too)
Part1: add inference checking?
It is in the algorithm in the book, but not sure we need to implement it at all... just putting this here as a thought/question to discuss or ask on piazza
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.