SverreNystad / board-master

BoardMaster utilizes the power of the Minimax algorithm, to simulate the best AI opponents one can face in simple board games.
MIT License
2 stars 0 forks source link

Connect4: Communication error between frontend and backend #35

Closed JonBergland closed 8 months ago

JonBergland commented 9 months ago

When placing a move in frontend, a bad request 400 is sent. Problems with apiroutes.makeMove in ConnectFour.jsx

JonBergland commented 9 months ago

It's most likely a problem with the Move-object sent. It gets interpreted as a potential primitive-object type in GameService.java

JonBergland commented 8 months ago

Me and @SverreNystad fixed it