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


April 2026

S M T W T F S
   12 34
5 67891011
12131415161718
19202122232425
2627282930  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Apr. 10th, 2026 01:47 am
Powered by Dreamwidth Studios