C# Game

Advance Computer Programing Project UNITY, MONO GAME

In the advance computer programming course we learned about object oriented programming (OOP) and made projects team, such as beginning game by C# and the next step make the game by engine game MONO game, Unity and present by record video and upload on THE YOUTUBE


วิชา Advance computer programming จะเรียนเกี่ยวกับการเขียนโปรแกรมเชิงวัตถุ(OOP) โดยที่ให้จับกลุ่มและสร้างเกมโดยนำเสนอผ่านทาง Youtube โดยแต่ละสัปดาห์ก็จะค่อยๆ ใช้ Engine ในการเขียนเกมต่างๆ โดยที่เริ่มจากเขียนเกมแบบธรรมดาด้วยภาษา C# ต่อมา เริ่มใช้Engine Mono game และโปรเจคสุดท้ายใช้ Engine 3D Unity

Final project : RUN FOR GRADE Unity

Assignment 5 : create game from unity game engine about our university

Google Drive : Click


WPF : Windows Forms C# text editor and calculator

gitHub : https://github.com/janthakool/WPF_text_editor

gitHub : https://github.com/janthakool/Winform_calculator_git

Assignment 4 : write 2 programs by create from 1. WinForms and 2. from WPF that choose 2 topic conditions below here เขียนโปรแกรม C# 2 โปรแกรม โดยที่โปรแกรมแรกเขียนด้วย WinForms โปรแกรมที่สองเขียนด้วย WPF โดยเลือกโจทย์ใดก็ได้จากตัวเลือกด้านล่างนี้

      • Hangman game
      • Battleship game
      • Science calculator can push the button or command and can compute the functions of science(โปรแกรมเครื่องคิดเลข แบบกดปุ่ม หรือแบบ command ก็ได้ คำนวณฟังก์ชั่นทางวิทยาศาสตร์ได้)
      • Drawing program such as Microsoft Paint can load a picture to be a background and save it(โปรแกรมวาดรูป (คล้าย MS Paint) ที่สามารถโหลดรูปขึ้นมาเป็นแบคกราวด์สำหรับวาดได้ เซฟภาพได้)
      • Text editor program such as Notepad or word (โปรแกรม Text editor (คล้ายๆ Notepad หรือ Word) )
      • Slide show program can select a picture from external folder to show that picture and can set the duration of the picture and show a effect when the picture change the scene(โปรแกรม Slide show สามารถเลือกรูปจาก folder นำมาทำเป็นสไลด์โชว์ได้ ตั้งเวลาได้ เลือกเอฟเฟคในการเปลี่ยนภาพได้ )


GAME III : GOD RAT AS PIT FALL WITH MONOGAME C#

God Rat was created from mono game engine ref.pitfall

Github : https://github.com/janthakool/GodRat_mono_pitfall

Assignment 3 : write a program by this conditions เขียนโปรแกรมตามเงื่อนไขดังนี้

  • calculate the number group by (number_group%3) that the result will tell, what the game do we do ? below here นำหมายเลขกลุ่ม (ในตารางรายชื่อกลุ่ม) modulus (%) ด้วย 3 ได้ผลเท่าใด ให้ใช้เลือกทำการบ้านตามโจทย์ต่อไป //I'm the No.11
  • กลุ่มที่ได้ผล modulus เป็น 0 เขียนเกมด้วย C# และ MonoGame ให้เป็นเกมที่มีกติกาคล้ายเกมฟร็อกเกอร์ (ref: frogger) https://www.youtube.com/watch?v=YfJjYqVZPJU
  • กลุ่มที่ได้ผล modulus เป็น 1 เขียนเกมด้วย C# และ MonoGame ให้เป็นเกมที่มีกติกาคล้ายเกมแฟลปปี้เบิร์ด (ref: flappy bird) https://www.youtube.com/watch?v=fQoJZuBwrkU
  • กลุ่มที่ได้ผล modulus เป็น 2 เขียนเกมด้วย C# และ MonoGame ให้เป็นเกมที่มีกติกาคล้ายเกมพิตฟอล (ref: pitfall) https://www.youtube.com/watch?v=p6qO90k2LSc


All the group have to additional conditions below here ให้ทุกกลุ่มเพิ่มเติมกติกาดังนี้

  • The game can play 2 persons together (competition or help)
  • เล่นได้ 2 คน พร้อมกัน (ช่วยกันหรือแข่งกันก็ได้) อาจจะใช้คีย์บอร์ดทั้งคู่ หรือใช้คีย์บอร์ดร่วมกับเม้าส์ หรือจอยสติ๊กก็ได้
  • The players can shoot
  • ผู้เล่นสามารถยิงอาวุธได้
  • Have the scene more than 3 scenes, each scene must have a different difficulty or different behavior of enemy
  • มีฉาก (level) อย่างน้อย 3 ฉาก โดยที่แต่ละฉากนอกจากภาพที่ต่างกันแล้ว ให้มีความยาก-ง่าย หรือพฤติกรรม หรือชนิดของศัตรูต่างกัน
  • Have more 3 enemies or 3 barriers and 1 BOSS
  • มีศัตรู หรืออุปสรรคในเกมมากกว่า 3 ชนิด รวมทั้งให้มีบอสอย่างน้อย 1 ตัว
  • The game have a effect or sound or beautiful UI will get extra the point
  • ตกแต่งกราฟฟิก เสียง การบังคับ ใส่ลูกเล่นให้กับเกม เพื่อให้เกมเล่นสนุกขึ้น (ได้คะแนนเพิ่ม)


GAME II : FLAPPY BIRD GAME WITH C#

Flappy bird was created from mono game engine

Github : https://github.com/janthakool/Flappy_Bird_MonoGame

Assignment 2 : write a program by this conditions เขียนโปรแกรมตามเงื่อนไขดังนี้

  • calculate the number group by (number_group%3) that the result will tell, what the game do we do ? below here นำหมายเลขกลุ่ม (ในตารางรายชื่อกลุ่ม) modulus (%) ด้วย 3 ได้ผลเท่าใด ให้ใช้เลือกทำการบ้านตามโจทย์ต่อไป //I'm the No.11
  • กลุ่มที่ได้ผล modulus เป็น 0 เขียนเกมด้วย C# และ MonoGame ให้เป็นเกมที่มีกติกาคล้ายเกมพิตฟอล (ref: pitfall) https://www.youtube.com/watch?v=p6qO90k2LSc
  • กลุ่มที่ได้ผล modulus เป็น 1 เขียนเกมด้วย C# และ MonoGame ให้เป็นเกมที่มีกติกาคล้ายเกมฟร็อกเกอร์ (ref: frogger) https://www.youtube.com/watch?v=YfJjYqVZPJU
  • กลุ่มที่ได้ผล modulus เป็น 2 เขียนเกมด้วย C# และ MonoGame ให้เป็นเกมที่มีกติกาคล้ายเกมแฟลปปี้เบิร์ด (ref: flappy bird) https://www.youtube.com/watch?v=fQoJZuBwrkU
  • The game have a effect or sound or beautiful UI will get extra the point ตกแต่งกราฟฟิก เสียง การบังคับ ใส่ลูกเล่นให้กับเกม เพื่อให้เกมเล่นสนุกขึ้น (ได้คะแนนเพิ่ม)


GAME I : Fogger C#

Fogger game is a basic that we did, made from Visual studio 2017 C# language

gitHub : https://github.com/janthakool/fogger_console

Assignment 1 : write a program by this conditions เขียนโปรแกรมตามเงื่อนไขดังนี้

  • calculate the number group by (number_group%3) that the result will tell, what the game do we do ? below here นำหมายเลขกลุ่ม (ในตารางรายชื่อกลุ่ม) modulus (%) ด้วย 3 ได้ผลเท่าใด ให้ใช้เลือกทำการบ้านตามโจทย์ต่อไป //I'm the No.11
  • กลุ่มที่ได้ผล modulus เป็น 0 เขียนโปรแกรมแบบ console ด้วย C# ให้เป็นเกมที่มีกติกาคล้ายเกมแฟลปปี้เบิร์ด (ref: flappy bird) https://www.youtube.com/watch?v=fQoJZuBwrkU
  • กลุ่มที่ได้ผล modulus เป็น 1 เขียนโปรแกรมแบบ console ด้วย C# ให้เป็นเกมที่มีกติกาคล้ายเกมพิตฟอล (ref: pitfall) https://www.youtube.com/watch?v=p6qO90k2LSc
  • กลุ่มที่ได้ผล modulus เป็น 2 เขียนโปรแกรมแบบ console ด้วย C# ให้เป็นเกมที่มีกติกาคล้ายเกมฟร็อกเกอร์ (ref: frogger) https://www.youtube.com/watch?v=YfJjYqVZPJU
  • The game have a effect or sound or beautiful UI will get extra the point ตกแต่งกราฟฟิก เสียง การบังคับ ใส่ลูกเล่นให้กับเกม เพื่อให้เกมเล่นสนุกขึ้น (ได้คะแนนเพิ่ม)