Yikes, sorry PB. I completely bailed.
A 2D char array is simple, no? Use the bits for contents and status. Creative bit choices mean no translation to display the board as text.
This is for a single session? No networking issues?
__________________
There are a vast number of people who are uninformed and heavily propagandized, but fundamentally decent. The propaganda that inundates them is effective when unchallenged, but much of it goes only skin deep. If they can be brought to raise questions and apply their decent instincts and basic intelligence, many people quickly escape the confines of the doctrinal system and are willing to do something to help others who are really suffering and oppressed." -Manufacturing Consent: Noam Chomsky and the Media, p. 195
|