Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6359949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:35:09+00:00 2026-05-24T23:35:09+00:00

in this game: http://www.mathsisfun.com/games/allout.html The solve function can solve any case, no matter how

  • 0

in this game: http://www.mathsisfun.com/games/allout.html
The solve function can solve any case, no matter how you “abuse” the original board. Please tell me the algorithm for solving this game. I have tried to think for days but still found no clue to solve all cases.

OK, after read some answers and comments (and have a quick look at Light out game), I expand my question:

Will the game different if I expand the size of the grid (like to 25×25)? Still any possible algorithm to solve any case, in acceptable time (< 2s)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T23:35:10+00:00Added an answer on May 24, 2026 at 11:35 pm

    This game is more commonly known as Lights Out, and has a number of elegant solutions, all based in some standard but somewhat advanced mathematics. I won’t describe them all here but if you Google a bit you can find all kinds of explanations varying from straightforward procedures to transformations into linear algebra or group theory. A few links:

    http://www.hamusutaa.com/pilot/solution.html

    http://www.ripon.edu/academics/macs/summation/2010/articles/M.%20Madsen%20-%20Lights%20Out.pdf

    http://people.math.sfu.ca/~jtmulhol/math302/notes/24-Lights-Out.pdf

    Edit: Re: your second question. The algorithm presented in the second link I posted can solve an n x n board in O(n^6) time, meaning you should be able to quickly solve a 25 x 25 board.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is the ponycorn game: http://www.untoldentertainment.com/games/sissy/ A couple of my non-programmer friends who are
I'm working on this game titled Fortress, located at http://www.joemajewski.com/fortress . Anyways, it's one
Okay, so I'm trying to make a game that uses this algorithm: http://www.codeproject.com/Articles/15573/2D-Polygon-Collision-Detection But
I have tried to make this simple Jquery game http://www.abkeya.com/2011/02/14/simple-jquery-game/ Most of the parts
I am developing an iPhone version of this game. http://www.students.uni-mainz.de/rathb000/Fillit/Game.html I am using an
Hi I was playing this game Circle the Cat http://www.gamedesign.jp/flash/chatnoir/chatnoir.html I was wondering what
If you watch this link of my game: http://www.youtube.com/watch?v=HMWl8D_OwyM If you watch this you
i am developing a game.when app starts,video will start to play like this http://www.youtube.com/watch?v=2OeuwYIYC0w
first time trying XNA Framework in C#.. followed this tutorial: http://www.uxmagic.com/blog/post/2010/08/17/e2809cHello-Worlde2809d-for-XNA-Game-Studio-40.aspx Everything's ok until
I'm trying to scrape information from http://www.nfl.com/scores (in particular, find out when a game

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.