N
N
Nanch2020-04-19 13:19:18
Web development
Nanch, 2020-04-19 13:19:18

How to write a browser game?

I decided to learn js, and came up with the task of making a sea battle online. I can do it purely for myself and play against the computer, but how to make user interaction? And is js suitable for this at all? Or is it better to try in python or php?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dr. Bacon, 2020-04-19
@bacon

On what you know how / like, but at least js for the client side.

N
Nadim Zakirov, 2020-04-19
@zkrvndm

For such simple games, javascript is ideal, but you still need to know minimal html / css.

A
Alexander, 2020-04-19
@NeiroNx

Yes, at least make a solitaire "scarf" - so that everything fits in one html.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question