/Battleship

Battleship hunter, single player

Primary LanguageTypeScript

Getting Started

This is Battleship game for one player

Initial board is 10x10 On it there are 5 ships of random size 2-5 and positions Hit rating and counters for interest

Available Scripts

In the project directory, you can run:

yarn start

What I want to add:

  • useMemo
  • useCallback
  • lazy/suspense
  • useRef to hangle events
  • useReducer
  • requestAnimationFrame and IntersectionObserver
  • useLayoutEffect and useEffect
  • react-window
  • improve data structures (Uint8Array)
  • imrove algorithm for random ships