As the World Wide Web developed and the utilization rate of the mobile device grew up, a lot of computer game companies chose to expand their product platform to the web games or the smart phone apps. These two kinds of game categories can become as popular as nowadays, because these are the ways that users can easily have access to and to play the games with. Based on the above and the fact that social networking service has become a part of our daily life, we decided to merge all social network features into our web game to make our games more compatible. This research is focused on virtual pet game with ability of allowing interaction between friends' pets and sharing messages among friends and the system are accessible through the web browser. In the future, we will combine social network system and the virtual pet game and also make a smart phone app version out of the combination, so that the users can take care of their own virtual pets anytime and anywhere as long as they have access to the Internet.