My Projects
Ruby Blast
This was my first project when I worked at Zynga in 2012. This match-three social game had already been set up at that time. But the whole 20 thousand of lines codes were written in one file. It was a terrible task to develop new features and maintain this kind of project. I proposed refactoring this project. I led another engineer and a QA, we succeeded to refactor this project through my modular frameworks. This game became more efficient and more maintainable after the refactoring. At its peak, the game earned one million dollars per day on Facebook.
Flax
@2014
Flax is a game development tool based on Flash Professional, which was a well-known multimedia creation platform. Using the power of the Flash to create animation/UI/scene/font etc. then Flax converts them into textures that can be used by other game development frameworks, such as Cocos2d-js, Cocos2d-x, Unity, Starling, and maybe more. The usage is very simple but the functions and efficiency are amazing. In 2015, the big data company questionnaire showed that Flax is the fourth most popular HTML5 game engine/tool in my country.
My team created dozens of HTML5 games using Flax for Softgames.com from 2014 to 2015. At the same time, I improved Flax constantly according to my team members feedback. More mini games created with Flax could be seen here.
Star Aquarium
@2015
This was a fish raising, gifting, and social game created for my customer. The customer provided the arts for me, and I created it with Flax. It is not online now.
Idle Hero
@2016
This is a traditional idle RPG game that was created with Flax & Cocos2d-js. All the UIs, scenes, and effects were created in Flash. Flax exported all the assets to be used by the game. I was responsible for game design including gameplay and data structures, the main logic of the front end, and the back end(Node.js & Express & MongoDB). One team member was responsible for the UI logic. The game has been on Appstore for many years since 2016. Some players played it for more than 2 years and became friends of mine. PLAY
Big Tree Village Adventures
@2016
This game was developed for my customer in 2016 with Flax for the front end and Java for the back end. An engineer on my team was responsible for the UI logic, and I was responsible for the main game logic and interacting with the server side. My customer was responsible for the game design, arts, and the back end. This game is not online anymore, but in 2016 my customer gained much reputation from it and a 6 million RMB investment.
Little Voyager
@2017
This game was also created with Flax. All the complicated UIs, scenes, and effects were created in Flash and exported by Flax to be used in the game. I was the leader of the technical team and I was also the core coder of the project. My team was responsible for all the technical implementation of the game and cooperated with my friend’s company Linkjoy which was responsible for the design and art. I spent much time improving the Flax tool and the map's scrolling performance when the ship was sailing and we achieved. PLAY
Little Voyager 2
@2018
This game was created with Unity based on the previous html5 game called Little Voyager. This is the first Unity mad game for my team. I was still the leader of the technical team. My team was responsible for all the technical implementation of the game and cooperated with my friend’s company Linkjoy which was responsible for the design and art. I spent a lot of effort to optimize the scrolling of the large map when the ship sailed, so that the FPS went from 20 before optimization to 58 after optimization. I also improved Flax to make its exporting assets such as effects and animations to be used in Unity. PLAY
Bar Jinhua
@2018
This interesting poker game was created for my customer in 2018. The game had a big feature that when there were not enough players there would be some smart robots there playing with the real players. The front end was Flax and the back end was Pomelo which is a scalable game server framework for node.js. The database was MongoDB. This game ever attracted many players that year, but it is not online now because of policy reasons.
Super Panda (Web3 Game)
@2018
Based on blockchain (Ehereum), this is a pet raising, bidding, siring, gifting, pk, and mining to earn money game. This game has three main technical parts: smart contracts in Solidity, node.js & exrpess.js based central server, and HTML & CSS based front end. And it can also be played on any mobile browser with the help of the featured Ethereum wallet which uses Ethers.js.I added the inviting friends' function to give bonuses to the invites which made the game gain many initial players within a short period. PLAY (Test version)
Other Web3 Game
@2019
These two gambling games were developed by myself for my customers. They're not online now. There were no smart contracts there but a central server to handle the crypto assets. The front end used react.js and the background used Node.js, Express.js and mongoDB.
Smart Contracts Auditing
From Mar. 2021 to Jun. 2022, as the chief engineer of Fairyproof, I audited more than 60 projects writen by Solidity and analyzed some projects with security incidents. I am very familiar with the security vulnerabilities that often occur in smart contracts and their preventive measures.
Node.js packages
During these years, I also published some Node.js packages to solve some common issues or assist my team to improve their efficiency. For example, iflax is an HTML5 game publish utility for Flax. flax-jsc is for publishing HTML5 games to mobile games. bbcoin is a command-line utility to create crypto wallets, and send crypto assets such as BTC, ETH, ERC-20 etc. mysecret is a personal secret management tool to store some important information on Google Secret Manager.
https://www.npmjs.com/~longames
MineSweeper
A mine sweeper game was created with PIXI.js and Typescript for the experiment's purpose. Finished within 6 hours.