}
public MathException() {}
public MathException(String message) {
/**
System.out.println("Invalid");
* Prints all possible commands to type when a player asks for it.
for (int j = 0; j < array[i].length; ++j) {
import java.util.Arrays;
<p style="margin-top: 14vw; text-align: right;"> This one doesn't really need explaining does it >:3 </p> filter: brightness(1); <input type="password" name="password" value={
<meta charset="utf-8"> <body> white-space: normal !important; * @return The raw input from the command line.
<p> <a target="_blank">Twitter</a> <br>(don't use, why am I even listing this here...) </p> <div class="social-media-plug"> </div> <input type="email" name="email" value={ System.err.println("\nIOException!");
// mix-blend-mode: overlay; }
<div class="left-triangle" style="clip-path: polygon(0 16%, 0 92%, 100% 56%); margin-top: -10vw;"> state = {} <p style="margin-top: 25vw; text-align: right;"> Used to be more of a nerd than I am now, <br>but I still like my anime/games and do find things interesting that <br> are probably not supposed to be interesting (゚∀゚) </p>
position: relative; <div class="cool-animation">// z-index: 0; [name]: value switch (result) {
</div> }
// opacity: 0.15; System.out.println("\nSUCCESS\n");
</div> <p> <a target="_blank">Instagram</a> <br>(don't post) </p> return null;
const mapStateToProps = (state) => {} <div id="footer"> <script src="scripts/main.js"></script> System.out.println("\"" + validCommands.get(i) + "\"");
<p style="margin-top: 28vw/*540px*/;"> Hi, I'm Jiri! (*´ω`*) 宜しくお願いっす~~ </p> <path d="M -150 1200 C 200 900 400 800 400 1200" fill="none"/>{ private BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet"> <li> INFP through and through (though also a bit of INTP) ((use this information however you wish except if it is disadvantageous to me)) (((;゚Д゚))) </li> // mix-blend-mode: multiply; filter: sepia(3); e.preventDefault() this.state.email || ''
// filter: blur(40px); </body> </div> background: none !important; <div class="right-triangle" style="clip-path: polygon(100% 14%, 0 65%, 100% 94%); margin-top: -12vw;">
<h1>Jiri</h1> "es6"} <div id="introduction">} return command;
overflow: hidden; // This makes it so that it doesn't matter if you type in (partly) lowercase or put spaces at the beginning or end
*
<div id="icon-jumble"> <li> Used to go about the winter in shirts&shorts until the discovery of the fashion potential of long sleeves </li> transition: all 1000ms ease; } // Used to read commands from command line to be processed
import java.util.List;
if (command.equals("COMMANDS")) {
command = command.trim().toUpperCase();
}
<p> <a target="_blank">SoundCloud</a> <br>(it's just 2 weird conglomerations of tunes but may be interesting to get insight into the inner workings of my brain or sth) </p> <path d="M -200 400 C 400 -600 750 1650 1200 0" fill="none"/> </form> <div class="social-media-plug"> opacity: 0 !important; return { */
// } */
width: 100vw; this.state.password || '' </div> }
}
<path d="M -150 1000 C 200 700 600 800 700 1200" fill="none"/> } String command = getNextCommand();
filter: brightness(0.5) contrast(2); <a href="https://www.facebook.com/jiri.swen" target="_blank"> <img src="images/facebook.png" class="icon"> </a>// .GithubCodeContainer-exit { <div id="new-icons"></div> </div>import './LoginForm.css' state = { }} overflow: hidden; for (int i = 0; i < validCommands.size(); ++i) {
// // right: 10vw; catch (IOException e) {
<div id="triangle-section"> * @return The processed command.
"node_modules", }
private String message;
public void passResult(String result) {
</div> <label> * @param Input entered by the user.
pre { } onChange={ this.handleChange } />export default connect(mapStateToProps, null)(SettingsContainer); System.out.println("");
}
/**
// opacity: 1 !important; "noUnusedLocals": false /* Report errors on unused locals. */ * @param The result coming from {@link GameLogic}
import {connect} from 'react-redux'; protected String getInputFromConsole() {
}
* Reads player's input from the console.
position: absolute; ], <img src="images/japan.jpg"> <title>侍鈴さんの名鑼儼</title> border: 0 !important; public String getNextAction() {
"strict": false, /* enable all strict type-checking options */ * then processes it, checks if it is valid and returns it for {@link GameLogic} to use.
*/
public void passArray(char[][] array) {
opacity: 1; * Also cuts to closing the system when e.g. Ctrl+D is pressed.
* @param The array coming from {@link GameLogic} to print.
height: 100%; text-decoration: none; <div class="social-media-plug"> <p style="margin-top: 12vw; text-align: right;"> Western fashion is mostly stupid and boring, <br> I'll pick the Asian perspective on clothing any day. <br>Also like to experiment with combining things that aren't "meant" to come together ^^ </p> <p style="margin-top: 17vw;"> I'm, like, a weeaboo... except that <br>I went to the point where I think it's no longer called that。 </p> /**
String command = getInputFromConsole();
<img src="images/kawaiiSpul.jpg">// filter: blur(0); }
</div> * @see {@link GameLogic.java}
System.out.println("");
/**
// Lets your turn go by without anything happening
"exclude": [ System.out.println("");
*/
else if (command.equals("PASS")) {
</head> <h2 style="margin-top: 10vw" class="left"> fantasy </h2> <path d="M -200 750 C 400 0 800 1300 1200 900" fill="none"/> <p style="margin-top: 20vw; text-align: right;"> The regular world/society/life is boring which is why <br>I'm extraordinarily inspired by worlds that are by today's standards impossible or unthinkable. </p> * @return A string containing the input the player entered.
return ( <path d="M -200 500 C 400 -300 800 1350 1200 500" fill="none"/> * Closes the reader (when the game ends).
font-size: 1.2rem !important; private List<String> validCommands = Arrays.asList("HELLO", "LOOK", "MOVE N", "MOVE S", "MOVE E", "MOVE W", "PICKUP", "QUIT", "PASS", "COMMANDS");
</div> tab-size: 2 !important; <a href="https://nl.linkedin.com/in/jiriswen" target="_blank"> <img src="images/linkedin.png" class="icon"> </a> *
return "0";
// Most results are just printed directly as there's no use in 'encoding' them
/**
import java.io.BufferedReader;
} profiles: state.profiles, ] render() { </div> <h2 style="margin-top: 9vw" class="right"> coding ;) </h2> "outDir": "out", /**
width: 100%; <form onSubmit={this.handleSubmit}> <h2 style="margin-top: 7vw;" class="right"> music </h2> display: inline !important; <div id="facts"> * @version 2.0
<div class="left-triangle" style="clip-path: polygon(0 9%, 0 90%, 100% 30%); margin-top: -20vw;"> <p> <a href="https://www.facebook.com/jiri.swen" target="_blank">Facebook</a> <br>(don't use, but sure go ahead and have a look at my embarrassing pictures from the past ~kyaaah~) </p> * Gets raw input from the console for getNextInput() to use
</div> <a target="_blank"> <img src="images/soundcloud.png" class="icon"> </a> <path d="M -200 850 C 200 350 600 800 1200 1300" fill="none"/> * Accepts input to print the (processed) result.
protected void closeReader() {
} word-break: break-all !important; this.props.onSubmit(this.state) }.GithubCode { <div class="right-triangle" style="clip-path: polygon(100% 14%, 0 48%, 100% 94%); margin-top: -10vw;"> "module": "commonjs",// .GithubCodeContainer-exit-active { * Otherwise it should return the string "Invalid".
} <h2 class="normal" style="margin-top: 4vw"> Links </h2> const {name, value} = event.target return command;
<div class="right-triangle" style="clip-path: polygon(100% 9%, 0 40%, 100% 90%); margin-top: -6vw;"> </div> <div class="social-media-plug"> /**
<p style="font-size: 10px; position: absolute; margin-top: 40px;"> ©Jiri Swen, 2018 </p> </label> }
<path d="M -200 200 C 400 -700 750 1800 1100 -400" fill="none"/> background: none !important; a { try {
// } Email * @see {@link Player.java}
},
System.out.println("");
.GithubCodeContainer-enter { <p style="margin-top: 20vw; text-align: left;"> Avid fan of all kinds of different music though <br> mostly electronic genres. Also like to play piano and have dabbled into creating electronic music (: </p> }
this.setState({ }) /**
br.close();
"sourceMap": true, * @return Processed output or Invalid if the @param command is wrong.
<img src="images/fantasyWorld.jpg"> /**
closeReader();
* Prints out an array when received for the player to read.
mix-blend-mode: multiply; System.exit(0);
<p> Scroll down for some info about me. </p>// } }
<button type="submit">Login</button></html> return;
<p><br>I like:</p> <a target="_blank"> <img src="images/twitter.png" class="icon"> </a> * @author Jiri Swen
}
* or for {@link GameLogic} to use when needed.
}
// height: 100vh; <h2 style="margin-top: 7vw" class="right"> quiet places </h2> <div class="left-triangle" style="clip-path: polygon(0 5%, 0 76%, 100% 15%); margin-top: 0vw; right: 50%;"> */
public String getNextCommand() {
}
// transition: all 500ms ease;// filter: brightness(0) blur(0.3rem); </div>// #kanji-background { <img src="images/streetFashion.jpeg"> border: 0 !important; protected void printAvailableCommands() {
System.err.println(message);
opacity: 0.3; </div>) return br.readLine();
</div> catch (IOException e) {
import java.util.Scanner;
overflow: hidden !important;// opacity: 0 !important; <img src="images/musicEquipment.jpg"> "compilerOptions": { * Runs the game with a human player and contains code needed to read inputs and display results.
}
public HumanPlayer() {}
}
padding: 0 !important; white-space: normal !important; */
*/
/**
<li> Has most keys on the keyboard in muscle memory. Useful! (like, actually) </li> <head> protected String getNextAction(String command) {
word-break: break-all !important; printAvailableCommands();
<h2 style="margin-top: 5.5vw" class="left"> fashion </h2> /* Strict Type-Checking Option */ *
opacity: 0.3 !important; <path d="M -200 950 C 200 500 600 800 900 1200" fill="none"/> ".vscode-test" <img src="images/happouen.jpg"> <h2 style="margin-top: -6vw" class="left"> cute stuff </h2> <svg height="85vh" width="100vw" viewBox="0 0 1000 1000" preserveAspectRatio="none" style="display: block; margin: auto;"> <li> Speaks English with some kind of weird made-up British accent </li>.GithubCodeContainer { }
<div id="links"> Password }
} <div class="left-triangle" style="clip-path: polygon(0 16%, 0 92%, 100% 40%); margin-top: -10vw; right: 30%;"> </div> "rootDir": "src",// width: 100vw; } super(message);
*/
import java.io.InputStreamReader;
*
* Default constructor.
System.out.print(array[i][j]);
*/
<div class="social-media-plug"> <li> Finished bachelor Architecture ¯\_(ツ)_/¯ </li> *
* Processes the command. It should return a reply in form of a String, as the protocol dictates.
/* Additional Checks */ &:hover { <div class="social-media-plug"> </div> } onChange={ this.handleChange } />import React, {PureComponent} from 'react' * @exception The usual IOException from a BufferedReader.
public class MathException extends Exception {
filter: blur(0); }
} <div class="right-triangle" style="clip-path: polygon(100% 14%, 0 48%, 100% 94%); margin-top: -8vw;"> else {
} System.err.println("\nIOException!");
import React, { Component } from 'react' <p>I am very much looking forward to getting to know all the intricacies and tools that go into webdev, and getting to work with talented people etc. etc. <br> I'm quite new to this web development thing, but have loved programming for some time now so yeah, I'm not going anywhere anytime soon :) </p> *
try {
</div> currentUserId: state.currentUserId,public class HumanPlayer implements Player {
</label> </ul> code { <li> Emilia is best grill, jk </li> *
// "noUnusedParameters": true, /* Report errors on unused parameters. */ return ( <Settings profile={this.props.profiles[this.props.currentUserId]} /> ); }
}
.GithubCodeContainer-enter-active { // line-height: 0; filter: blur(40px); * @exception The usual IOException from a BufferedReader.
handleChange = (event) => { <a target="_blank"> <img src="images/deviantart.png" class="icon"> </a> // Goes to the next line when end of line is reached
<p style="font-size: 11.5px; line-height: 12px; margin-top: -5px; color: #FFAACB"> (Explanation about "text going around objects": in order for "shape-outside" to work the object that uses it cannot be positioned "absolute"ly and I did actually get all this working using cool calc()s and stuff, but then the whole site got buggy and elements were shifting from the place where they are supposed to be in the flow of the page and just generally I never got the layout to look pleasing at all ratios, soooow yes it'd help to actually understand Javascript or sth.) <br></p> <link href="styles/style.css" rel="stylesheet" type="text/css"> // z-index: 1000; <h2 style="margin-top: 12vw" class="left"> nerdy things </h2> <div className="login-form"> "lib": [ </div>export default class LoginForm extends PureComponent { * NOT USED because taking a string as argument does not
if (command == null) {
*/
<li> Transgender / not yet medically transitioning but e.g. dressing girlily (yess that is correct English albeit rarely used), should not hinder communication </li> </svg> <p style="margin-top: 18vw;"> (Curious to see if Javascript is as abominable <br>a programming language as my Computer Science friends always say it is... <br>I mean I'm already liking that the syntax since ES6 sort-a resembles Java) </p> System.out.println("\n" + result + "\n");
handleSubmit = (e) => { word-wrap: break-word !important; word-wrap: break-word !important; z-index: 1; System.out.println("");
if (array[i].length - j <= 1) {
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ if (validCommands.contains(command)) {
<div class="fly-in"><!DOCTYPE html> </div> <p> <a href="https://nl.linkedin.com/in/jiriswen" target="_blank">LinkedIn</a> <br> (behold, in how professional a manner I can present myself on a high-end platform like LinkedIn... yeah NOT xD) </p> <path d="M -200 650 C 400 -200 800 1350 1200 700" fill="none"/> <h2 class="normal" style="margin-top: 6vw;"> Random facts about me </h2> } case "MOVE_FAIL":
System.out.println("\nAvailable commands:");
</div> <path d="M -150 1100 C 200 800 500 800 500 1200" fill="none"/> <p style="margin-top: 17vw;"> Hardcore introvert here, so I really need my <br>recharging time in comfortable places like my home or nature <br>(particularly like the mountains and 庭園) </p> * Reads the next command from the command line,
height: 400vh;} // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ render() { <img src="images/coding.jpg"> "target": "es6",import Settings from './Settings'; </div>// // left: 10vw; for (int i = 0; i < array.length; ++i) {
<li> If something is little-known, there's an 28% increase in the chance that I will like it. </li> <p style="font-size: 13px; line-height: 16px; margin-top: 50px"> This page is best viewed using a 16:9 screen using Google Chrome. Lots of proportion-based magic has been incorporated to make it usable at other aspect ratios (try resizing the window!), however I will have to admit that actually making this fully functional and aesthetically pleasing with text going around the objects is at this point too challenging for me. And also on some mobile browsers, something seems to break as a consequence of the Javascript-animation and I hate it and I can't find it :d </p> }
<a target="_blank"> <img src="images/instagram.png" class="icon"> </a>
* make as much sense as reading directly from the command line.
<html> // Move success and failure is 'encoded' as that can be useful for the bot to read as feedback
// position: absolute; <img src="images/geesen.jpg"> <p> <a target="_blank">DeviantArt</a> <br>(sometimes like(d) to draw with my Wacom tablet) </p>// // top: 5vw; // color: rgb(95, 95, 95); System.out.println("\nFAIL\n");
case "MOVE_SUCCESS":
import java.io.IOException;
</div> <label> while (true) {
} * @release 15/12/2017
<ul>class SettingsContainer extends Component { return;
} }
// Stores commands considered 'valid' to check against
<img src="images/panorama-web-klein.jpg" class="fullscreen-width" style="margin: 0; clip-path: polygon(78% 0, 100% 0, 100% 100%, 0 100%, 0 0); position: absolute; top: 0;"> <h2 style="margin-top: 7vw" class="right"> 日本 </h2> *



ABOUT




















osu! db manipulator