<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="th">
	<id>http://158.108.32.49/wiki/index.php?action=history&amp;feed=atom&amp;title=418383%2F418587_%E0%B8%A0%E0%B8%B2%E0%B8%84%E0%B8%9B%E0%B8%A5%E0%B8%B2%E0%B8%A2_2553%2F%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%9A%E0%B9%89%E0%B8%B2%E0%B8%99_1</id>
	<title>418383/418587 ภาคปลาย 2553/การบ้าน 1 - ประวัติรุ่นแก้ไข</title>
	<link rel="self" type="application/atom+xml" href="http://158.108.32.49/wiki/index.php?action=history&amp;feed=atom&amp;title=418383%2F418587_%E0%B8%A0%E0%B8%B2%E0%B8%84%E0%B8%9B%E0%B8%A5%E0%B8%B2%E0%B8%A2_2553%2F%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%9A%E0%B9%89%E0%B8%B2%E0%B8%99_1"/>
	<link rel="alternate" type="text/html" href="http://158.108.32.49/wiki/index.php?title=418383/418587_%E0%B8%A0%E0%B8%B2%E0%B8%84%E0%B8%9B%E0%B8%A5%E0%B8%B2%E0%B8%A2_2553/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%9A%E0%B9%89%E0%B8%B2%E0%B8%99_1&amp;action=history"/>
	<updated>2026-05-06T20:12:57Z</updated>
	<subtitle>ประวัติรุ่นแก้ไขของหน้านี้ในวิกิ</subtitle>
	<generator>MediaWiki 1.33.1</generator>
	<entry>
		<id>http://158.108.32.49/wiki/index.php?title=418383/418587_%E0%B8%A0%E0%B8%B2%E0%B8%84%E0%B8%9B%E0%B8%A5%E0%B8%B2%E0%B8%A2_2553/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%9A%E0%B9%89%E0%B8%B2%E0%B8%99_1&amp;diff=10295&amp;oldid=prev</id>
		<title>Cardcaptor เมื่อ 16:37, 25 พฤศจิกายน 2553</title>
		<link rel="alternate" type="text/html" href="http://158.108.32.49/wiki/index.php?title=418383/418587_%E0%B8%A0%E0%B8%B2%E0%B8%84%E0%B8%9B%E0%B8%A5%E0%B8%B2%E0%B8%A2_2553/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%9A%E0%B9%89%E0%B8%B2%E0%B8%99_1&amp;diff=10295&amp;oldid=prev"/>
		<updated>2010-11-25T16:37:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;th&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←รุ่นแก้ไขก่อนหน้า&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;รุ่นแก้ไขเมื่อ 16:37, 25 พฤศจิกายน 2553&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;แถว 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;แถว 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ให้ไว้ ณ วันศุกร์ที่ 26 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ธ&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ค&lt;/del&gt;. 2552 ส่ง&amp;#039;&amp;#039;&amp;#039;วันศุกร์ที่ 24 ธ.ค. 2553 เวลา 23.59 น.&amp;#039;&amp;#039;&amp;#039; โดย zip ไฟล์ในไดเรกทอรี Tetris ส่งมาที่ pramook at gmail dot com&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ให้ไว้ ณ วันศุกร์ที่ 26 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;พ&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ย&lt;/ins&gt;. 2552 ส่ง&amp;#039;&amp;#039;&amp;#039;วันศุกร์ที่ 24 ธ.ค. 2553 เวลา 23.59 น.&amp;#039;&amp;#039;&amp;#039; โดย zip ไฟล์ในไดเรกทอรี Tetris ส่งมาที่ pramook at gmail dot com&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== เริ่มต้น ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== เริ่มต้น ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ให้ดาวน์โหลดซอร์สโค้ดของโปรแกรมเกม Tetris จาก http://theory.cpe.ku.ac.th/~pramook/418383/codes/Tetris.zip  &lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ให้ดาวน์โหลดซอร์สโค้ดของโปรแกรมเกม Tetris จาก http://theory.cpe.ku.ac.th/~pramook/418383/codes/Tetris.zip  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Cardcaptor</name></author>
		
	</entry>
	<entry>
		<id>http://158.108.32.49/wiki/index.php?title=418383/418587_%E0%B8%A0%E0%B8%B2%E0%B8%84%E0%B8%9B%E0%B8%A5%E0%B8%B2%E0%B8%A2_2553/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%9A%E0%B9%89%E0%B8%B2%E0%B8%99_1&amp;diff=10294&amp;oldid=prev</id>
		<title>Cardcaptor: หน้าที่ถูกสร้างด้วย &#039;ให้ไว้ ณ วันศุกร์ที่ 26 ธ.ค. 2552 ส่ง&#039;&#039;&#039;วันศุกร์ที่ 24 ธ.ค. 2553 …&#039;</title>
		<link rel="alternate" type="text/html" href="http://158.108.32.49/wiki/index.php?title=418383/418587_%E0%B8%A0%E0%B8%B2%E0%B8%84%E0%B8%9B%E0%B8%A5%E0%B8%B2%E0%B8%A2_2553/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%9A%E0%B9%89%E0%B8%B2%E0%B8%99_1&amp;diff=10294&amp;oldid=prev"/>
		<updated>2010-11-25T16:37:20Z</updated>

		<summary type="html">&lt;p&gt;หน้าที่ถูกสร้างด้วย &amp;#039;ให้ไว้ ณ วันศุกร์ที่ 26 ธ.ค. 2552 ส่ง&amp;#039;&amp;#039;&amp;#039;วันศุกร์ที่ 24 ธ.ค. 2553 …&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;หน้าใหม่&lt;/b&gt;&lt;/p&gt;&lt;div&gt;ให้ไว้ ณ วันศุกร์ที่ 26 ธ.ค. 2552 ส่ง&amp;#039;&amp;#039;&amp;#039;วันศุกร์ที่ 24 ธ.ค. 2553 เวลา 23.59 น.&amp;#039;&amp;#039;&amp;#039; โดย zip ไฟล์ในไดเรกทอรี Tetris ส่งมาที่ pramook at gmail dot com&lt;br /&gt;
== เริ่มต้น ==&lt;br /&gt;
ให้ดาวน์โหลดซอร์สโค้ดของโปรแกรมเกม Tetris จาก http://theory.cpe.ku.ac.th/~pramook/418383/codes/Tetris.zip &lt;br /&gt;
&lt;br /&gt;
ในเกมมีการใช้ font ชื่อ Bit Stream Vera Mono ซึ่งคุณสามารถ download ได้จากลิงค์นี้ http://www.gnome.org/fonts/&lt;br /&gt;
&lt;br /&gt;
== งานของคุณ ==&lt;br /&gt;
=== 1. เพิ่มระดับความยาก ===&lt;br /&gt;
จงแก้ไขเกมให้ tetromino ตกลงมาเร็วขึ้นเมื่อผู้เล่นทำแถวเติมได้ 20 แถวแต่ละครั้ง พร้อมทั้งเพิ่มส่วนแสดงผลว่าตอนนี้ผู้เล่นอยู่้ที่ระดับความยากอะไร โดยให้ระดับความยากแรก (ตกช้า) เป็นระดับความยากที่ 1 แล้วระดับความยากถัดๆ ไปเป็นระดับความยากที่ 2, 3, 4, ฯลฯ&lt;br /&gt;
&lt;br /&gt;
=== 2. Pause Mode ===&lt;br /&gt;
จงแก้ไขโปรแกรมให้เมื่อผู้ใช้อยู่ใน Play Scene แล้วกด ESC แล้วเกมจะหยุดเล่นแล้วแสดงเมนูให้ผู้ใช้เลือก (1) เล่นต่อ (2) กลับไปไตเติ้ล หรือ (3) เลิกการทำงานของโปรแกรม โดยถ้าผู้ใช้เลือกเล่นต่อก็ให้กลับไปยัง mode เดิมก่อนผู้ใช้กด ESC&lt;br /&gt;
&lt;br /&gt;
=== 3. High Scores ===&lt;br /&gt;
จงแ้ก้ไขโปรแกรมให้เก็บคะแนนสูงสุดของการเล่นที่ผ่านๆ มาเอาไว้ 10 คะแนน โดยเก็บข้อมูลใส่ในไฟล์ชื่อ &amp;lt;tt&amp;gt;high-scores.txt&amp;lt;/tt&amp;gt; และให้นำคะแนนสูงสุดมาแสดงทุกครั้งเมื่อ Game Over และให้เพิ่มตัวเลือกในเมนูที่ Title Scene ให้สามารถดูคะแนนสูงสุดที่ผ่านมาได้ด้วย&lt;br /&gt;
&lt;br /&gt;
=== 4. Time Attack Mode ===&lt;br /&gt;
ให้เพิ่ม Time Attack Mode โดยเป็น mode ที่ผู้เล่นสามารถเล่นเกมได้เรื่อยๆ จนทำแถวเติมได้ครบ 50 แถว (หรือจะกี่แถวก็ได้) โดยความยากไม่เพิ่มขึ้น ให้เกมจับเวลาที่ผู้เล่นเริ่มเล่นจนกระทั่งทำแถวเต็มได้ครบตามกำหนด และให้มี &lt;br /&gt;
# นาฬิกาแสดงเวลาที่ผู้เล่นใช้ไปแล้วอยู่ด้วยตอนเล่นเกม &lt;br /&gt;
# การเก็บเวลาที่น้อยที่สุด 10 อันดับแรกใส่ใน &amp;lt;tt&amp;gt;high-scores.txt&amp;lt;/tt&amp;gt; &lt;br /&gt;
# เอาเวลาที่ดีที่สุดมาแสดงหลังจากผู้ใช้ทำแถวไ้ด้ครบหรือ Game Over ไปก่อนทำได้ครบ&lt;br /&gt;
# เพิ่มเมนูใน Title Scene ให้สามารถเรียกดูเวลาที่ดีที่สุดได้&lt;br /&gt;
&lt;br /&gt;
=== 5. ทำให้เกมสวยงาม ===&lt;br /&gt;
เปลี่ยนหน้า Title, หน้า Game Over, หน้าจอระหว่างเล่นเกม, และวิธีแสดงแถวที่เต็มให้สวยงาม โดยอาจใช้รูปภาพแทน block ฯลฯ &lt;br /&gt;
&lt;br /&gt;
ขอให้คุณใช้ความสามารถทางศิลปะให้เต็มที่&lt;/div&gt;</summary>
		<author><name>Cardcaptor</name></author>
		
	</entry>
</feed>