KillerBeam is a .Net implementation of the game called Laser Chess (I think this name is registered, hence the name KillerBeam) which appeared in Compute! Magazine in the early eighties. It is a "chess like" game involving mirrors and beams. A help file is included with instructions on how to play. Still a bit rough around the edges, but works. Forgive me as this is my first attempt at C# programming, and I want to contribute back to the C# community. Used the excellent chess program CheckMate from this site by Kaushal Golwala as a framework. Feedback / suggestions would be appreciated.
As a new comer to both OO and C# some of the difficulties I experienced was getting my head around the concept of working with an instance as opposed to a class. Once the concept sunk it it all seemed rather obvious after that. The way the mouse double click works is not as intuitive as in VB, and I must admit I still get confused between private and protected. However I managed to at least get the program working.
For other new comers to C# there is an example of using double clicks as well as random number generation. My next project is to allow users in the network play. Enjoy.
adrian perezPosted Nov 22, 2011, 4:34 PM
thank you, Greetings from Argentina
Leonardo Martins ScaramelPosted Apr 3, 2009, 2:10 PM
I can't download this game... why? someone have any other link??
Paresh RathodPosted Nov 22, 2007, 4:30 AM
Below is the difference between private and protected: The protected access specifier is similar to private. Its only difference occurs in fact with inheritance. When a class inherits from another one, the members of the derived class can access the protected members inherited from the base class, but not its private members. Regards, PARESH [email protected]
magela mooreeditedPosted Aug 8, 2007, 9:37 PMEdited Aug 8, 2007, 9:39 PM
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\KillerBeam\KillerBeam\KillerBeam.resources'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.Resources.ResourceReader..ctor(String fileName) at KillerBeam.Graphix.ResReader..ctor() in Documents\MyTempDownloads\KillerBeam\KillerBeam\KillerBeam\MainForm.cs:line 261 at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies **************
Mike GoldPosted Jul 18, 2007, 1:45 AM
Pretty cool game, Yussof. Looking forward to the network version