Skip to main content
  • Use Javascript to create a game of snake , water & gun . The game should ask you to enter S,W or G . The computer should be able to randomly generate S,W or G and declare win or loss using alert . Use confirm and prompt wherever required