updated entry.cpp with example for Game Events