PHP/JS project for web game