Answer the question
In order to leave comments, you need to log in
What is a project for a beginner Javascript programmer?
After a couple of weeks of studying this language, I slowly realized that I was going into such a wild that would definitely not bring anything good. It's time to write, not teach! So I decided to make a small project to gain experience, so to speak, and to consolidate the material. I thought about calendars and stuff, it's pretty uninteresting and decided to start with a multiplayer game. The bottom line is this:
1. The game has a registration.
2. There is a profile assigned to each player.
3. The game is textual (after all, I just need to understand the essence, and not immediately become a millionaire in the game industry).
4. There are 2 players in the game, each chooses a certain set of characteristics and chooses what to defend and what to attack in each of his phases.
5. The winner is awarded victory and experience, and everything is recorded in the player's profile.
6. The game has a chat during the game itself and a general one.
6. There is a general rating (how many wins experience someone has, etc.)
Well, this is such a simple game, but the problem is where to start. Write the server part yourself or learn how to use some kind of framework, where to record the result, how to synchronize the players (I would like realtime, but I don’t know how), etc. In general, gentlemen, I ask you for detailed instructions on what and how, what is better to use, etc. From me, rays of kindness and exclusive photos of cats in spicy poses. Thanks to all.
Answer the question
In order to leave comments, you need to log in
Well, learn Express.js at the same time ( one , two ). It is enough to write a minimal server for your game, and it is in JS. 2 birds with one stone.
If you are a beginner, it would be wise to delve into clean code rather than frameworks. Those. to invent a little bicycles. This is useful in the sense that you will understand how this or that mechanism works as part of the framework.
Yes, such a toy is a good field for gaining initial experience. And take the time to redo what you've done :-)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question