CT Wu

Software Architect · Backend · Data Engineering

Yesterday, I told I want to develop a game, and I draw a blueprint:

The game is web based and like a RPG. The player can control a character with several skills, and those skills come from his job. There are two kinds of jobs: attack by weapon or by magic. The player can pick 8 skills on the desk and fight to an enemy. If you win this enemy, you can get some experiences, money, and items. The goal of this game is to defeat the final boss.

The code flow is like:

To reduce the traffic between the frontend and the backend, the game loop is in browser, but the status and gaming engine are in backend. Therefore, the backend can determine what the enemy you encounter and what rewards you will receive.

The communication between the browser and the backend is session, and I will use an encrypted cookie to keep the game states. However, I am not sure this method is secure enough or not. If you have the better idea, please tell me.

Originally published on Medium

Hi guys,

I come from Taiwan, a free and kind country, and work in an international company. I had been an embedded engineer and coded in C/C++, but now I am a backend developer with Python. No one around me can discuss technology, e.g., machine learning, web development, or even programming. So, I try to find some people having the same habit in computer science from the Internet. On the other hand, I need practice my English to work with foreigners from our branch office.

I will attempt to update my stories about my side projects every week. Actually, I will design and develop a web game by using HTML/CSS/JavaScript and Node.JS. In addition, if I find something interesting, I will share with you. Therefore, follow me and become my friend. At least, please point out my English mistake, and this is very helpful to me.

Thank you for your reading.

Originally published on Medium

0%