how to make browser games? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

how to make browser games?

Which programming languages ​​are required? HTML, CSS and JS? Are the contents of solo courses enough to learn what is necessary to play games?

9th May 2018, 4:50 PM
Marcus Xavierr
Marcus Xavierr - avatar
6 Answers
+ 3
Ben Allen (Njinx) And JS, HTML, CSS for front end?
10th May 2018, 12:14 AM
Marcus Xavierr
Marcus Xavierr - avatar
+ 2
Feichtinger Andreas For a game I wouldn't recommend PHP. PHP isn't asynchronous meaning you need to refresh the browser or use ajax to update changes. Node.js would be a much better alternative since it can directly interact with the browser in real time.
10th May 2018, 12:05 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 2
Marcus Xavierr You probably want to make the login in PHP. Use Node.js to make the back-end of the game.
10th May 2018, 12:12 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 2
10th May 2018, 12:28 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 1
browsergames nowerdays are mostly js if you want to save the gam consider to also use php and ajax
9th May 2018, 5:56 PM
Lexfuturorum
Lexfuturorum - avatar
+ 1
Ben Allen (Njinx) The game will be online and will have login. Does it make things much harder? I will have to study sql too?
10th May 2018, 12:08 AM
Marcus Xavierr
Marcus Xavierr - avatar