Maths Week Day 4 | 數學女王與點燈遊戲Queen and Lights Game

2021-02-25 KingsCollegeSchoolHangzhou

簡單地說,這是一個N x N的棋盤(比如3x3),這個正方形棋盤橫著和豎著的格子數是一樣的。

We will look at an NxN board (3x3). The number of horizontal and vertical squares on the board are the same.

一開始的時候,每一個格子的燈全部是滅的,當你點擊其中一盞燈(一個小方格)的時候,「這個格子」+「上下左右四個格子」都會改變狀態(由亮變暗,或者由暗變亮),超出邊界的則忽略。

At the beginning, all of the lights in each grid are off. When you click one of the lights (a small grid), "this grid" + "up, down, left and right four grids" will change their state (from light to dark, or from dark to light), and those beyond its boundary will stay the same.

遊戲的要求是,你能以最少的步數,將全部的燈點亮。也就是變成下圖的樣子:

The aim of the game is to light all the lights with the minimum number of steps. Please see the following images:

比如,對於下圖中的N=3,點擊正中間的的黑色方格,會使得上下左右及中間這5個格子由暗變亮,如下圖所示:

For example, for N = 3 in the figure below, clicking the black square in the middle will make the five squares from top, bottom, left, right and the middle dark, as shown in the figure below: 

再點擊左上角第一個方格,自身變亮,但是右邊和下面的方格又變回暗的(左邊和上面的格子超出範圍不考慮),如下圖所示:

Click the first grid in the upper left corner, and it will become bright, but the grid on the right and below will turn dark again (the grid on the left and above will not be considered if it is out of range). This is shown in the following figure: 

這裡是線上的視頻遊戲,連結如下:

This is the online video game. The link is as follows:

https://www.geogebra.org/m/dRyWhGUq

如果小朋友們願意動手操作,也可以用9張大小相同,但是正反兩面顏色不一樣的紙,擺成這樣整齊的棋盤方格,然後自己嘗試下翻轉哦!

If the children are willing to try it, they can also use nine pieces of paper of the same size. But with different colours on both sides, put them into such a neat chessboard grid, and then try to turn it down by themselves!

當然啦,3x3的棋盤,也就是橫著3個格子,豎著3個格子的這種圖案是最簡單的啦!如果小朋友們解鎖了這一關,可以嘗試著挑戰格子數更多的棋盤,比如說4x4,5x5……

The 3x3 board is the simplest. If children can unlock this level, they can then try the challenge of larger boards with more squares, such as 4x4, 5x5 …

以下是更多挑戰的連結

The following are links to more challenges:

https://www.geogebra.org/m/TETbjz7y

https://www.geogebra.org/m/YXt3VhPn

https://www.lightsout.ir/

數學的世界是不是很奇妙呢?聰明的你可以自己嘗試著探索下哦~如果關於這個遊戲你有很棒的想法或者玩法,也歡迎分享給我們:

mathsweek2020@rkcshz.cn

Isn’t the world of mathematics wonderful? Go ahead to explore it. If you have good ideas about this game, please share them with us: 

mathsweek2020@rkcshz.cn

相關焦點

  • 蟲族兵種——女王 Queen
    Queen(女王) 與星際爭霸裡的Queen(女王)大有不同,是一個擅長防禦的強大單位。現在星際爭霸2中的女王一個能繞著基地到處爬的龐然大物,一次只能出一個。女王還可以花費一定資源來進行進化,獲得更高的HP,更多的能量,和更多的技能。
  • 點燈遊戲攻略(1)
    跟數學上對付這種情況的方法一樣, 就是用窮舉法. 一共4盞燈, 每盞燈有亮/滅兩個狀態, 所以在遊戲的初始狀態中, 一共有2^4=16種狀態. 當然, 一開始就全亮這種狀態被我在代碼中排除了, 所以初始狀態共有15種可能.
  • The Queen《女王》(精講之一)(組圖)
    Anchorperson: ...after finding a self-embroiled in asecondcontroversy this week.  Diana: I am not a political figure.
  • 整理一下做遊戲程序的學習資源
    數學小道認為,遊戲程式設計師和其他程式設計師最大的不同在於對數學,渲染,性能優化,甚至遊戲性的認知。做遊戲是離不開數學和物理的,甚至數學和物理的高度一定程度上決定了你職業的高度。要命的是,這兩門學科比編程難多了,比如圖形學涉及到的數學知識就夠喝一壺了,但終究還是要學的,而且小道以為,在學編程之前先把數學系統的過一遍,對以後大有裨益。
  • Queen’s weather是「女王的天氣」嗎?那是什麼樣的天氣?
    1)Queen’s weatherQueen’s weather從字面意思上看,可不就是「女王的天氣」嘛!那會是什麼樣的天氣?還真是呢,話說很久以前英國女王維多利亞出現在公共場合的時候,一般都是好天氣(可能是她不想在天氣很糟的時候出動吧)。
  • 數學是math還是maths?美式英語和英式英語的區別,但為什麼呢?
    蒂姆擅長數學和科學。The math teacher always calls on the boys.數學老師總是叫男生回答問題。說英國英語的人總是說「maths」,如:Have you done your maths homework yet?你做完數學作業了嗎?How did you do on your maths test?
  • 《點燈人》遊戲詳細介紹 遊戲怎麼樣
    導 讀 點燈人遊戲好玩嗎?
  • 「數學」到底應該縮寫為maths還是math還是二者皆可?
    大家對「數學」的英語單詞的全稱並不陌生——mathematics。那麼問題就來了,你是不是見到過「maths」和「math」兩種拼寫形式呢?到底哪個是對的呢?請對比下列兩組圖片,前一組的兩個拼寫為「math」,而後一組的兩個則拼寫為「maths」:math 例一math 例二maths 例一maths 例二答案是兩種拼寫形式都是對的
  • 生命遊戲 the Game of Life
    世界上最著名的遊戲之一,Game of Life生命遊戲,為這些最神秘的問題提出了可能的解釋——也許再複雜的生命,最初也不過是幾條最簡單的規則。本文從Game of Life的緣起說起,解釋了它這幾十年給予數學、計算機、哲學的啟發,最後把它作為Python編程的練習。
  • game store是指「遊戲店」嗎?這個詞組很容易被誤解!
    1.game 野味 沒錯,你沒並沒看錯,game竟然也能翻譯成「野味」(恕我無知,罐頭菌其實也並不知道) 在翻查字典之後,發現game確實有作為「野味」的意思,不僅能直接用於名詞,意思和我們中文的「野味」確實非常貼切。
  • 《點燈人》好玩嗎 遊戲特色玩法內容分享
    導 讀 點燈人手遊怎麼玩呢?點燈人手遊作為一款橫版闖關類型的遊戲,它的玩法也是相當有趣的呢!
  • 歐陸風雲4開發日誌 | 9/24 滿洲發布後修復
    Good day all and welcome to this week's EU4 Dev Diary.Last Tuesday saw the release of the 1.29 Manchu update, and for myself and the rest of the EU4 team, it's been a blast seeing players pick up the game and tear through our additions in East Asia.
  • PEP小學英語四上Unit2:schoolbag,maths,English,Chinese
    Put your maths book under your schoolbag.二,maths bookⅠ,漢語意思:數學書Ⅱ,記憶方法:1,拆分法:maths book(數學書)=maths(數學)+ book(書)2,圖文對照法:
  • 一代女王的童年
    She was the queen of the United Kingdom.維多利亞伸出手,內務大臣親吻了一下。「國王於今日凌晨兩點十二分離世了,」內務大臣說道。維多利亞公主現在是維多利亞女王了,是聯合王國的女王。
  • 「white day」是白色情人節,那「black day」是指什麼意思呢?
    the day before yesterday 前天the day before 前一天the morning before 前一天上午the night before 前一天晚上two days ago 兩天前two days before 兩天前next week 下周the next
  • 終於能在遊戲裡開國產車了!比亞迪汽車登錄《塵埃4》Wegame版
    長久以來競速類遊戲都是國外車的天下,而近日,我們終於能在遊戲裡也能玩到國產車了。近日《塵埃4》Wegame版新版本中加入了國產汽車比亞迪·秦和比亞迪·唐。並且遊戲還減價90元!可謂是誠意滿滿。《塵埃》系列是一款非常有名的拉力車賽車遊戲,現在已經出了4款了,不過之前一直都沒有中國元素的加入,好在《塵埃4》登錄Wegame後可能是製作商發現了中國市場的巨大潛力,以及中國這幾年來汽車業的迅猛發展,毅然決定在遊戲當中製造兩輛中國賽車,並且將遊戲中的導航系統也換成了中文語音。徹底照顧國內市場。
  • Maths Week Day 1 | 神秘主義數學家&謎算式
    The steps are as follows:1.Choose your birthday and multiply by 2: DD× 22.Add 5 to your total: DD× 2+53.Multiply your new total by 50: 50×(DD× 2+5)4.Add your birth month to
  • The Game of Life Classic edition(遊戲人生)
    中文名稱:遊戲人生 (The Game of Life Classic edition) 屬性:遊戲類(付費)版本:1.0大小:12.4 MB價格:$4.99簡介:遊戲人生這款遊戲是一款類似大富翁的棋盤類遊戲,玩家可依靠轉盤決定自己的命運,也可以根據自己的意願決定人生道路
  • 電影風格冒險遊戲《LastDayofJune》正式發售
    《LastDayofJune》現已登陸Steam與海外PS4平臺,發行商505Games為獨立遊戲愛好者提供限時優惠。由Ovosonico開發,505Games發行的E3獲獎佳作《LastDayofJune》已於8月31日登陸電腦端Steam與PlayStation4平臺。