anybody got C code for this game of life using 8X8 array 4 5777
On Mon, 16 Aug 2004 00:55:29 -0400
"aura" <so********@yah oo.com> wrote: anybody got C code for this game of life using 8X8 array
Probably. However this is not a source wanted group so it is the wrong
place to ask. If, on the other hand, you try to write one in standard C
we will discuss your implementation with you.
--
Flash Gordon
Sometimes I think shooting would be far too good for some people.
Although my email address says spam, it is real and I read it.
Flash Gordon <sp**@flash-gordon.me.uk> wrote: On Mon, 16 Aug 2004 00:55:29 -0400 "aura" <so********@yah oo.com> wrote:
anybody got C code for this game of life using 8X8 array
Probably. However this is not a source wanted group so it is the wrong place to ask. If, on the other hand, you try to write one in standard C we will discuss your implementation with you.
....but not if it uses anything but stdio for output.
--
Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
On Mon, 16 Aug 2004 13:04:50 -0000
Thomas Dickey <di****@saltmin e.radix.net> wrote: Flash Gordon <sp**@flash-gordon.me.uk> wrote: On Mon, 16 Aug 2004 00:55:29 -0400 "aura" <so********@yah oo.com> wrote: anybody got C code for this game of life using 8X8 array
Probably. However this is not a source wanted group so it is the wrong place to ask. If, on the other hand, you try to write one in standard C we will discuss your implementation with you.
^^^^^^^^^^
...but not if it uses anything but stdio for output.
I did say standard C :-)
anyway, we could discuss all the bits except for the actual
display/input code. If the SW is well designed then the display/input
code will be isolated and easy to replace with something simple.
--
Flash Gordon
Sometimes I think shooting would be far too good for some people.
Although my email address says spam, it is real and I read it. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: theodp |
last post by:
--> From http://www.techdirt.com/articles/20040406/1349225.shtml
Microsoft Patents Saving The Name Of A Game
Contributed by Mike on Tuesday, April 6th, 2004 @ 01:49PM
from the yeah,-that's-non-obvious dept.
theodp writes "As if there weren't enough dodgy patents, here's an
excerpt from one granted to Microsoft Tuesday for a 'Method and
apparatus for displaying information regarding stored data in a gaming
system': 'When saving a game,...
|
by: Gina |
last post by:
I need to add the cell generation to a templated program. I am using
graphics magician, but my problem is with the math. I cannot figure
out my cell generations. I do know that I need two different arrays.
One array is the original grid, and one is the copy of that grid.
But, I am stuck..here is my code, if anyone could please help me I
would greatly appreciate it.
>// John Horton Conway's "Game of Life"
#include "GraphicsMagician.h"
|
by: Hans Kamp |
last post by:
As a programming exercise I try to program a game.
In my case it is called BugEater. The purpose is that you are a snake. It
moves automatically but you can control it with the keys on your keyboard.
In the field where your snake is, there are candies that you must eat. The
more candies you eat, the longer you get.
You win if you eat all 10 candies without dying more than 3 times in one
level. In that case a time bonus is added to your...
|
by: CapMaster |
last post by:
I'm having some trouble programming the game of life. In the version my teacher gave us, it involves a class with a private grid variable for the game. Here's the class she gave us:
..
const int maxrow = 20, maxcol = 60; // grid dimensions
class Life {
public:
Life ();
void initialize();
void print();
void update();
private:
|
by: ThaDoctor |
last post by:
Hi.
I am quite new to C++ so I think I would ask here what I am doing
wrong with this code.
I am writing a little game in a text console, but here is something
that is in no way related to the game but when I am compiling this it
yields an error....
Why is that
#include<iostream>
| |
by: PatrickMinnesota |
last post by:
I like to do fun stuff when learning a new language. I've been
working with Python for a little while on real world problems mostly
fixing bugs and writing a simulator for work.
I was thinking as a hobby project developing a simple 2d game (think
Donkey Kong, Space Invaders, LoadRunner) and mentioned this to my 14
year old nephew. About a week later I got a full write up for a game
that he wrote and would like to play. So I figure why...
|
by: vampiro666 |
last post by:
hello, can anyone help me plz. i have an assignment to submit but i am having problem with it. the problem is just below:
the game of life
The game of life is a simple cellular automaton where the world is a 2D grid of cells which have two states: alive or dead. After each iteration, the new state of a cell is determined by the state of its neighbors at the previous iteration. This includes both the nearest neighbors and the diagonal...
|
by: blackslither |
last post by:
I had to implement Game of Life in a 3D matrix (int a) , but the complexity of my implementation is O(n^6) (6 imbricated for) and it runs very slow . Can anyone help me with an optimized version of Game of life , even with a 2D matrix . Or how the Game of Life in general could be optimized ?
|
by: slapsh0t11 |
last post by:
So, I've been working on this Game of Life (http://www.bitstorm.org/gameoflife/) project, and all the code has been written. However, it will not run. First, I will post the error message and the fragment of code I think to be the cause of the problem. Then, I will post the code to all 3 of my java files in their entirety should you wish to reference them. Any help would be much appreciated.
Also, if it would help fix my error, I would...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |