[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 2026

S M T W T F S
 123 45 6
789101112 13
14151617181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 14th, 2026 02:14 am
Powered by Dreamwidth Studios