[personal profile] fardell24

Digital and Interactive Games, 2015 – Week 7, Session 2
Continued from previous session

.. Location – Width/2

std::uniform_int_distribution intValue(0, 3)



int intValue{ 0 };
std::uniform_int_distribution intValue(0, 3)

int dir = intValue(e)

switch(e) {
case 0;
MOVE_LEFT;
break;
case 1;
MOVE_RIGHT;
break;


June 2025

S M T W T F S
12 3 45 67
89 1011121314
15161718192021
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 12th, 2025 03:28 am
Powered by Dreamwidth Studios