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


July 2025

S M T W T F S
   1 2345
67 89101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 9th, 2025 04:00 am
Powered by Dreamwidth Studios