Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Thought I would throw this bit of code up to give the comp-sci anti spag code fits;)

Author
Message
GregA
15
Years of Service
User Offline
Joined: 21st Jun 2011
Location:
Posted: 18th Jul 2012 13:11


Props if you can figure out what I am checking here
GregA
15
Years of Service
User Offline
Joined: 21st Jun 2011
Location:
Posted: 18th Jul 2012 14:00
Oh and there was a typo in it!!!

Good news sit I made it into a function, and abstracted it a level below what you see here.

Seriously, if anyone can figure out how to roll this up into a loop so I could point it at any sized grid, and look at the "diagonals" I would...

Send you a mmmm beer icon?
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 18th Jul 2012 15:39
Looks like we need a "GregA's Challenges" thread.

How does this fit in with your other thread which talked of 5 in a row?

The threat of beer makes this a tempting challenge.
TinTin
20
Years of Service
User Offline
Joined: 16th May 2006
Location: BORG Drone Ship - Being Assimilated near Roda Beta (28)
Posted: 25th Jul 2012 22:31
That has to be the hardest way to achieve that task...
Here...! Free Gratis, no copyright reqirements, a complete solution.



Where is my beer: ???


Cyberspace was becoming overcrowded and slummy so I decided to move. These nice chaps gave me a lift.

Login to post a reply

Server time is: 2026-07-07 14:23:22
Your offset time is: 2026-07-07 14:23:22