Commit 16f31c48 authored by Joris Kuipers's avatar Joris Kuipers
Browse files

Some small updates

* Update Spring Boot version to latest release (1.5.9)
* Update Material Design Lite to 1.3.0
* Rename controller class
parent aead0665
......@@ -14,7 +14,7 @@
* *As* a player *I want* to play Tic-Tac-Toe against the computer *so that* I can entertain myself.
* **Acceptance criteria**
* The user and the computer take turns playing.
* The first player to achieve three-in-row wins.
* The first player to achieve three-in-a-row wins.
* Three-in-a-row can be horizontal, vertical or diagonal.
* When the game ends a new game can be started.
* The achieved score is registered.
......@@ -48,6 +48,6 @@
* **column**: int
* **row**: int
* Feel free to introduce new technologies as part of your implementation:
* For instance, use AngularJS for the presentation and client-side components,
* For instance, use Angular for the presentation and client-side components,
or use a server-side templating framework like Thymeleaf instead.
* The application can simply be started from your IDE, or by using the Maven command ```mvn spring-boot:run```
\ No newline at end of file
......@@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.2.RELEASE</version>
<version>1.5.9.RELEASE</version>
</parent>
<properties>
......
......@@ -5,7 +5,7 @@ import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class RestLogicController {
public class GameLogicController {
@PostMapping("/executeTurn")
public String move(@RequestParam boolean turn, @RequestParam int column, @RequestParam int row) {
......
......@@ -2,9 +2,10 @@
<html>
<head>
<link rel="stylesheet" href="https://storage.googleapis.com/code.getmdl.io/1.0.0/material.blue-pink.min.css"/>
<script src="https://storage.googleapis.com/code.getmdl.io/1.0.0/material.min.js"></script>
<!-- Material Design Lite contents: see https://getmdl.io/ -->
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"/>
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.blue-pink.min.css">
<script defer src="https://storage.googleapis.com/code.getmdl.io/1.3.0/material.min.js"></script>
<link rel="stylesheet" href="/css/styles.css" />
<script src="/js/init.js"></script>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment