This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <conio.h> | |
| #define POKE(A,X) (*(unsigned char *)A) = (X) | |
| #define PEEK(A) (*(unsigned char *)A) | |
| #define POKEW(A,X) (*(unsigned int *)A) = (X) | |
| #define PEEKW(A) (*(unsigned int *)A) | |
| #define MAX_ROWS 8 | |
| #define MAX_COLS 8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %%%================================================================================ | |
| %%% Copyright (c) 2022 Gorka Suárez García | |
| %%% | |
| %%% Permission is hereby granted, free of charge, to any person obtaining a copy | |
| %%% of this software and associated documentation files (the "Software"), to deal | |
| %%% in the Software without restriction, including without limitation the rights | |
| %%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| %%% copies of the Software, and to permit persons to whom the Software is | |
| %%% furnished to do so, subject to the following conditions: | |
| %%% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <iomanip> | |
| #include <cstdint> | |
| using namespace std; | |
| // This function only works up to n = 46. | |
| template<unsigned char n> | |
| class MetaFibonacci { | |
| private: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Preferences] | |
| bool_AprilHighRes=1 | |
| SfxVolume=1.000000 | |
| VoiceVolume=1.000000 | |
| MusicVolume=1.000000 | |
| bool_Subtitles=1 | |
| bool_ShadowsOn=1 | |
| bool_DisableWarnings=1 | |
| bool_SkipCD=1 | |
| bool_HighResVideo=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Maude System Syntax Highlighter for GTKSourceView | |
| Copyright (C) 2016 Adrián Riesco Rodríguez, Gorka Suárez García | |
| This program is free software: you can redistribute it and/or modify | |
| it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation, either version 3 of the License, or | |
| (at your option) any later version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| open System | |
| open System.IO | |
| type Entity = { | |
| TargetX : float | |
| TargetY : float | |
| Speed : float | |
| ExpectedDistance : float | |
| Name : string | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| open System | |
| let golden_ratio = (1.0 + (Math.Sqrt 5.0)) / 2.0 | |
| let read_generic_number (msg : string) fconv ftest defval = | |
| let mutable value = defval | |
| while ftest value do | |
| try | |
| Console.Write msg | |
| value <- Console.ReadLine() |> fconv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| open System | |
| let read_string (msg : string) = | |
| Console.Write msg | |
| Console.ReadLine () | |
| let read_integer (msg : string) = | |
| Console.Write msg | |
| let line = Console.ReadLine () | |
| let canparse, keyin = Int32.TryParse line |