🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8574

Re: Conway's Game of Life in Java (not applet)

#8574
From: Dave Bird
Date: Tue, 13 Mar 2001 23:14
17 lines
2046 bytes
In article <tasru2pe4c1g6b@corp.supernews.co.uk>, sjacko
<sjacko@lineone.net> writes
>I'm particularly having trouble with allowing the user to enter the starting
>configuration of cells by entering co-ordinates i.e. what is the best way to
>store them in an array.
>
>I can create the array at any size by asking the user to enter the
>co-ordinates and then display the contents using two for loops to enter a
>character in each cell. But it each entering a character in each individual
>cell that is awkward.

 Hey, I programmed that thirty years ago :-> I can't see what your 
 difficulty is.  

-- 
   ^-^-^-@@-^-;-^   http://www.xemu.demon.co.uk/
        (..)__u     news:alt.smoking.mooses
Technical Details
Message-ID: <R9FG6cBanqr6EwJn@xemu.demon.co.uk>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!feed2.onemain.com!feed1.onemain.com!newsfeed.icl.net!dispose.news.demon.net!news.demon.co.uk!demon!xemu.demon.co.uk!dave
References: <tansrgkkvbjq79@corp.supernews.co.uk> <adWq6.171789$B6.38051103@news1.rdc1.md.home.com> <tasru2pe4c1g6b@corp.supernews.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10a146,12639020e584fbba
X-Google-Attributes: gid10a146,public
X-Google-Thread: f74b3,12639020e584fbba
X-Google-Attributes: gidf74b3,public
X-Google-Thread: 113ae9,12639020e584fbba
X-Google-Attributes: gid113ae9,public
X-Google-ArrivalTime: 2001-03-14 10:30:13 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!feed2.onemain.com!feed1.onemain.com!newsfeed.icl.net!dispose.news.demon.net!news.demon.co.uk!demon!xemu.demon.co.uk!dave
From: Dave Bird <dave@xemu.demon.co.uk>
Newsgroups: borland.public.jbuilder.java.language,comp.lang.java.help,comp.lang.java.programmer
Subject: Re: Conway's Game of Life in Java (not applet)
Date: Tue, 13 Mar 2001 23:14:34 +0000
Organization: none
Message-ID: <R9FG6cBanqr6EwJn@xemu.demon.co.uk>
References: <tansrgkkvbjq79@corp.supernews.co.uk>
 <adWq6.171789$B6.38051103@news1.rdc1.md.home.com>
 <tasru2pe4c1g6b@corp.supernews.co.uk>
NNTP-Posting-Host: xemu.demon.co.uk
X-NNTP-Posting-Host: xemu.demon.co.uk:158.152.196.209
X-Trace: news.demon.co.uk 984594343 nnrp-09:17867 NO-IDENT xemu.demon.co.uk:158.152.196.209
X-Complaints-To: abuse@demon.net
MIME-Version: 1.0
X-Newsreader: Turnpike Integrated Version 5.00 U <dQumtnY$x4rJ2u5tL5fS$n2vuP>
Lines: 17