Added Some Game Logic (before)