<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>http://hyperdramatik.net/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Typing_together</id>
	<title>Typing together - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="http://hyperdramatik.net/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Typing_together"/>
	<link rel="alternate" type="text/html" href="http://hyperdramatik.net/mediawiki/index.php?title=Typing_together&amp;action=history"/>
	<updated>2026-07-25T12:25:33Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in hyperdramatik</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>http://hyperdramatik.net/mediawiki/index.php?title=Typing_together&amp;diff=1122&amp;oldid=prev</id>
		<title>HannahPernerWilson am 5. Mai 2020 um 12:25 Uhr</title>
		<link rel="alternate" type="text/html" href="http://hyperdramatik.net/mediawiki/index.php?title=Typing_together&amp;diff=1122&amp;oldid=prev"/>
		<updated>2020-05-05T12:25:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 5. Mai 2020, 12:25 Uhr&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-l6&quot;&gt;Zeile 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&amp;lt;source lang=&amp;quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;js&lt;/del&gt;&amp;quot; line start=&amp;quot;2&amp;quot; highlight=&amp;quot;4-6&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&amp;lt;source lang=&amp;quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;java&lt;/ins&gt;&amp;quot; line start=&amp;quot;2&amp;quot; highlight=&amp;quot;4-6&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;// S&amp;amp;&amp;amp;O SS2020 // course: *From Space to Space*&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;// S&amp;amp;&amp;amp;O SS2020 // course: *From Space to Space*&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>HannahPernerWilson</name></author>
	</entry>
	<entry>
		<id>http://hyperdramatik.net/mediawiki/index.php?title=Typing_together&amp;diff=1120&amp;oldid=prev</id>
		<title>HannahPernerWilson am 5. Mai 2020 um 12:22 Uhr</title>
		<link rel="alternate" type="text/html" href="http://hyperdramatik.net/mediawiki/index.php?title=Typing_together&amp;diff=1120&amp;oldid=prev"/>
		<updated>2020-05-05T12:22:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 5. Mai 2020, 12:22 Uhr&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-l3&quot;&gt;Zeile 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;and you receive the other player's keys in a different colour.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;and you receive the other player's keys in a different colour.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;img src=&amp;quot;&lt;/del&gt;https://live.staticflickr.com/65535/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;49857401148_0f6b53579f&lt;/del&gt;.jpg&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;quot;&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;https://live.staticflickr.com/65535/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;49857401148_0f6b53579f_c&lt;/ins&gt;.jpg&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>HannahPernerWilson</name></author>
	</entry>
	<entry>
		<id>http://hyperdramatik.net/mediawiki/index.php?title=Typing_together&amp;diff=1119&amp;oldid=prev</id>
		<title>HannahPernerWilson: Die Seite wurde neu angelegt: „This sketch receives keyboard input.  Each keypress is typed to the screen and sent to the other player, and you receive the other player's keys in a different…“</title>
		<link rel="alternate" type="text/html" href="http://hyperdramatik.net/mediawiki/index.php?title=Typing_together&amp;diff=1119&amp;oldid=prev"/>
		<updated>2020-05-05T12:22:32Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „This sketch receives keyboard input.  Each keypress is typed to the screen and sent to the other player, and you receive the other player&amp;#039;s keys in a different…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This sketch receives keyboard input. &lt;br /&gt;
Each keypress is typed to the screen and sent to the other player,&lt;br /&gt;
and you receive the other player's keys in a different colour.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;img src=&amp;quot;https://live.staticflickr.com/65535/49857401148_0f6b53579f.jpg&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;js&amp;quot; line start=&amp;quot;2&amp;quot; highlight=&amp;quot;4-6&amp;quot;&amp;gt;&lt;br /&gt;
////////////////////////////////////////////////////////////////////&lt;br /&gt;
// S&amp;amp;&amp;amp;O SS2020 // course: *From Space to Space*&lt;br /&gt;
////////////////////////////////////////////////////////////////////&lt;br /&gt;
// this sketch receives keyboard input.&lt;br /&gt;
// each keypress is typed to the screen and sent to the other player,&lt;br /&gt;
// and you receive the other player's keys in a different colour.&lt;br /&gt;
// code based on example by Joël Gähwiler&lt;br /&gt;
// https://github.com/256dpi/processing-mqtt&lt;br /&gt;
////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
import mqtt.*;&lt;br /&gt;
MQTTClient client;&lt;br /&gt;
&lt;br /&gt;
////////////////////////////////////////////////////////////////////&lt;br /&gt;
///////////////////// DECLARE GLOBAL VARIABLES /////////////////////&lt;br /&gt;
////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
// !!! CHANGE p1 and p2 depending on which player you are !!! //&lt;br /&gt;
String mePlayer = &amp;quot;/typing-together/grey/p2&amp;quot;;&lt;br /&gt;
String otherPlayer = &amp;quot;/typing-together/grey/p1&amp;quot;;&lt;br /&gt;
////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
PFont f;&lt;br /&gt;
String t;&lt;br /&gt;
int letterWidth = 15;&lt;br /&gt;
int letterHeight = 40;&lt;br /&gt;
int x = letterWidth;&lt;br /&gt;
int y = letterHeight;&lt;br /&gt;
&lt;br /&gt;
////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  client = new MQTTClient(this);&lt;br /&gt;
  client.connect(&amp;quot;mqtt://SpielObjekt:5p13l0j3ct@broker.shiftr.io&amp;quot;, &amp;quot;processing&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
  size(600, 600);&lt;br /&gt;
  background(100);  //set background colour&lt;br /&gt;
&lt;br /&gt;
  //printArray(PFont.list());  //print out list of available fonts&lt;br /&gt;
  f = createFont(&amp;quot;Courier&amp;quot;, 24);&lt;br /&gt;
  textFont(f);&lt;br /&gt;
  textAlign(CENTER);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void clientConnected() {&lt;br /&gt;
  println(&amp;quot;client connected&amp;quot;);&lt;br /&gt;
  client.subscribe(otherPlayer);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
////////////////////////////////////////////////////////////////////&lt;br /&gt;
// RECEIVE &amp;amp; TYPE //&lt;br /&gt;
////////////////////////////////////////////////////////////////////&lt;br /&gt;
void messageReceived(String topic, byte[] payload) {&lt;br /&gt;
  t = new String(payload);&lt;br /&gt;
  println(&amp;quot;new message: &amp;quot; + topic + &amp;quot; - &amp;quot; + t);&lt;br /&gt;
  fill(200, 130, 130);  //the other player's text will be this colour&lt;br /&gt;
  text(t, x, y);  //draw key on screen&lt;br /&gt;
  x+=letterWidth;  //increment position&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
////////////////////////////////////////////////////////////////////&lt;br /&gt;
// SEND &amp;amp; TYPE //&lt;br /&gt;
////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
void keyPressed() {&lt;br /&gt;
  client.publish(mePlayer, str(key));  //send key to other player&lt;br /&gt;
  fill(100, 150, 150);  //your text will be this colour&lt;br /&gt;
  text(key, x, y);  //draw key on screen&lt;br /&gt;
  x+=letterWidth;  //increment position&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void draw() {&lt;br /&gt;
  if (x &amp;gt; width-letterWidth) {&lt;br /&gt;
    x=letterWidth;&lt;br /&gt;
    y+=letterHeight;&lt;br /&gt;
  }&lt;br /&gt;
  if (y&amp;gt; height-letterHeight) {&lt;br /&gt;
    y=letterHeight;&lt;br /&gt;
    saveFrame();  //save an image of the window into sketch folder&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
void connectionLost() {&lt;br /&gt;
  println(&amp;quot;connection lost&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>HannahPernerWilson</name></author>
	</entry>
</feed>