Skip to content

Melvynx/NavalBattle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

300141f Β· Jan 22, 2021

History

40 Commits
Jan 22, 2021
Jan 4, 2021
Nov 16, 2020
Nov 16, 2020
Jan 15, 2021

Repository files navigation

Naval Battle 🚀

Little application which mixes front and api

I did this in the context of school project to learn C#.

So I choosed to make a react front app with a c# backend.

Backend

My api follow guidlines of microsoft.

It doesn't use a real bdd, but a "fake" context to store values while it's active.

For now, to start this you need to have Visual Studio and run the project insideπŸƒβ€β™‚οΈ.

Fronted

It's a simple create-react-app βš›οΈ !

Just run yarn start and turn api on πŸš€.

Warning: the api url is in the file info.js. Change it with your url.

IA

My API simulates a player. It can play VS you! It can :

  • generate a correct boat placement
  • play against a player

End

My app is not made to be secure πŸ”“, but for local use. It is so easily possible to brain the api. For example, modify another game from another player because there is no token.

Have a nice day 😁