It's UWAweek 17 (1st semester, week 8)

help2005

This forum is provided to promote discussion amongst students enrolled in CITS2005 Object Oriented Programming.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying selected article
Showing 1 of 89 articles.
Currently no other people reading this forum.


 UWA week 14 (1st semester, non-teaching week) ↓
SVG not supported

Login to reply

👍?
helpful
8:36pm Sun 7th Apr, ANONYMOUS

Hi, I'm having issues getting the simulating the step working for my version of game of life. At the moment my method clones the grid, then reads off this clone to edit the original grid's values however it does not in the intended way. Should my method be following the answers more closely? Additionally, looking at the answer, I somewhat understand what the method is but I'm unsure what is being down with the operation: neighbors += grid[l][j] ? 1 : 0; Is this used to convert the Boolean to a number 1 if it's true and 0 if false?

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  5:07AM Sep 06 2023
Privacy policy