The wikipedia game project tries to save the famous "wikiracing" game. Wikiracing is a game where multiple players try to compete to navigate through the website. Players start off at one random wikipedia page and only using internal links try to navigate to a different internal page.
The program works by crawling wikipedia and fetching pages. It then grabs the links and navigates to the next page, the output is put into a connected graph. One can then calculate the shortest path by running BFS.
The project and its dependencies are built and managed by maven.
mvn clean installOne can run the project by using java command on the built output. The output should be located in the target folder. One can then interact with the program using the command line.
java -jar <out>.jarOne should run the cli project's jar.
The commands are as follows
- crawler -> responsible for start and stopping the crawler
- exit -> exit the command line
- wiki -> navigate wikipedia.
