473,785 Members | 2,291 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Write a program to play a "Dots and Boxes" game variation

The Programmer Of The Month website poses an interesting programming
challenge every so often. We don't have any prizes but we do offer a
friendly forum and the opportunity to compete against fellow
programmers. Hope you'll drop by and give us a look! The latest
problem just began:

http://dinsights.com/POTM/LINESANDBOXES

describes a game called "LINES and BOXES" which is similar to "DOTS and
BOXES".
The main rule differences:

1) you may draw lines longer than one box long;
2) play alternates turns (no bonus for capture);
3) the starting grid may be square or rectangular and may contain some
"pre-made" moves.

If you are a programmer, please think about competing!
If not, then please drop by the forums and share your thoughts!

Thanks for your time.
=Fred (a.k.a the POTM-MASTER)

Mar 2 '06 #1
0 2540

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1697
by: Jack | last post by:
I finally discovered where all of the blue boxes in my IDE are coming from after, once again, accidently hitting "Mark All" in a Find in the Visual Studio.NET IDE. However, there is no "Unmark All". Does anyone know how to clear these?
4
1709
by: Daedric | last post by:
Hello and thanks in advance to anyone who offers help. To make this simple, let's say I have a game which has 100 different monsters. I want a binary data file to hold all of these. It would have the index number of the mob, name, size, attributes, etc. I can easily create an editor to edit the records in this file, as soon as I know how to create this file and be able to find a specific monster in the file and fill, say, text boxes...
0
411
by: fred | last post by:
The Programmer Of The Month website poses an interesting programming challenge every so often. We don't have any prizes but we do offer a friendly forum and the opportunity to compete against fellow programmers. Hope you'll drop by and give us a look! The latest problem just began: http://dinsights.com/POTM/LINESANDBOXES describes a game called "LINES and BOXES" which is similar to "DOTS and BOXES".
2
1613
by: Griff | last post by:
I want to display a repeating set of formatted infomation that appears within a "box" so that the individual boxes appear to the right of the previous one until the line is filled and then the next one goes onto the following line. Just like "text flow". Each "box" will contain an image and some "formatted" text, possibly held in a small table or something similar (depends what I get to work). Picture something like a business card. ...
14
14417
by: harbintyler | last post by:
I was wondering if anyone knows how to write a tic tac toe game in c++?
0
1255
by: projectbeach | last post by:
Hi, I've been struggling to create a valid XML schema that implements the following innocent-looking concept: A box may contain a bunch of bags (possibly 0). A bag must contain a bunch of boxes (at least 1). It seems like a simple extension on the well-known doll concept: A doll may contain a bunch of dolls (possibly 0). whose simple solution is, for example:
4
13736
by: Francesco Moi | last post by:
Hi. I'm trying to place three "<div class=foo>" boxes in the same line: ----html-------------------- <HTML><HEAD> <link href="test.css" rel="stylesheet" type="text/css" /> </HEAD> <body> <div>
4
3150
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...
2
4037
by: tesa | last post by:
I am not able to figure out how to make this work. I am trying to create a hangman game. I am in a basic javascripting class. I am to only use very basic code as you can see. I am able to use any online resources to help me. I have added alot of comments for what should be happening however is not happening. I also have a teacher that teaches us one way but then asks us to do things he has not taught. I am trying my very best. Any...
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10104
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,...
0
9959
tracyyun
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...
0
8988
agi2029
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...
1
7510
isladogs
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...
0
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4063
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3668
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.